1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-23 00:50:48 +00:00

Rename action to accurately reflect that we are only linting, not building.

Adjust description for pre-commit hook setup to better convey what is being
done.
This commit is contained in:
Nicholas McDonnell 2020-04-06 19:02:31 -04:00
parent b01a0ee7bd
commit 1f3d440a1a
No known key found for this signature in database
GPG key ID: A3A493305F40A162

View file

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