Merge remote-tracking branch 'human-protocol/develop' into dashboard-… #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CVAT Exchange Oracle Lint | |
on: | |
push: | |
paths: | |
- 'packages/examples/cvat/exchange-oracle/**' | |
- '.github/workflows/ci-lint-cvat-exchange-oracle.yaml' | |
env: | |
WORKING_DIR: ./packages/examples/cvat/exchange-oracle | |
defaults: | |
run: | |
working-directory: ./packages/examples/cvat/exchange-oracle | |
jobs: | |
cvat-exo-lint: | |
name: CVAT Exchange Oracle Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
cache: 'pip' | |
cache-dependency-path: ${{ env.WORKING_DIR }}/poetry.lock | |
- run: python -m pip install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'poetry' | |
cache-dependency-path: ${{ env.WORKING_DIR }}/poetry.lock | |
- run: poetry install --no-root --only dev | |
- run: poetry run pre-commit run --all-files |