mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Explicitly install pre-commit hooks as its own step so it's clearer when the
failure is with setup rather than hooks running.
This commit is contained in:
parent
0bc1aab45e
commit
b01a0ee7bd
1 changed files with 2 additions and 0 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -42,5 +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
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue