diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3de522e..6fdce56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,10 +18,10 @@ jobs: name: Static Analysis steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run pre-commit - run: make test/docker/pre-commit + uses: docker://ghcr.io/antonbabenko/pre-commit-terraform:latest unit-tests: needs: pre-commit @@ -29,7 +29,7 @@ jobs: name: Unit Tests steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check for Terraform file changes uses: getsentry/paths-filter@v2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6561e23..d9e4dd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/mineiros-io/pre-commit-hooks - rev: v0.4.1 + rev: v0.5.1 hooks: - id: terraform-fmt - id: terraform-validate