|
|
@ -11,7 +11,7 @@ env: |
|
|
|
PRE_COMMIT_CACHE_DIR: ~/.cache/pre-commit |
|
|
|
PRE_COMMIT_CACHE_DIR: ~/.cache/pre-commit |
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
build: |
|
|
|
lint: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
@ -42,7 +42,7 @@ jobs: |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip |
|
|
|
python -m pip install --upgrade pip |
|
|
|
pip install --upgrade --requirement requirements-test.txt |
|
|
|
pip install --upgrade --requirement requirements-test.txt |
|
|
|
- name: Install pre-commit hooks |
|
|
|
- name: Set up pre-commit hook environments |
|
|
|
run: pre-commit install-hooks |
|
|
|
run: pre-commit install-hooks |
|
|
|
- name: Run pre-commit on all files |
|
|
|
- name: Run pre-commit on all files |
|
|
|
run: pre-commit run --all-files |
|
|
|
run: pre-commit run --all-files |
|
|
|