1
0
Fork 0
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:
Nicholas McDonnell 2020-04-06 13:47:18 -04:00
parent 0bc1aab45e
commit b01a0ee7bd
No known key found for this signature in database
GPG key ID: A3A493305F40A162

View file

@ -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