mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Merge pull request #41 from cisagov/bugfix/update_pre-commit_for_pre-commit-terraform_hook
Update pre-commit Hooks to Include Bugfix
This commit is contained in:
commit
89b098aefc
3 changed files with 6 additions and 4 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -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,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: Set up pre-commit hook environments
|
||||||
|
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
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
.mypy_cache
|
.mypy_cache
|
||||||
__pycache__
|
|
||||||
.python-version
|
.python-version
|
||||||
|
__pycache__
|
||||||
|
|
|
@ -76,7 +76,7 @@ repos:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
# files: molecule/default/playbook.yml
|
# files: molecule/default/playbook.yml
|
||||||
- repo: https://github.com/antonbabenko/pre-commit-terraform.git
|
- repo: https://github.com/antonbabenko/pre-commit-terraform.git
|
||||||
rev: v1.27.0
|
rev: v1.29.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: terraform_fmt
|
- id: terraform_fmt
|
||||||
- id: terraform_validate
|
- id: terraform_validate
|
||||||
|
@ -85,7 +85,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: docker-compose-check
|
- id: docker-compose-check
|
||||||
- repo: https://github.com/prettier/prettier
|
- repo: https://github.com/prettier/prettier
|
||||||
rev: 2.0.2
|
rev: 2.0.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
|
|
Loading…
Reference in a new issue