Skip to content

precommit

precommit #1081

Workflow file for this run

name: Static Analysis
on:
push:
jobs:
static_analysis:
runs-on: ubuntu-22.04
steps:
# from https://github.com/actions/checkout/commits/main
- uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707
- name: run_init
run: |
bash .utils/terraform_run_all.sh init docker
- name: show_version
run: |
TAG="v1.83.2@sha256:cc05f476f32f0607a75bf25a92a5dc59ce08858f69fe88cf6c94731a30342a90"
docker run --rm --entrypoint cat ghcr.io/antonbabenko/pre-commit-terraform:$TAG /usr/bin/tools_versions_info
- name: run_test
run: |
TAG="v1.83.2@sha256:cc05f476f32f0607a75bf25a92a5dc59ce08858f69fe88cf6c94731a30342a90"
docker run -v $(pwd):/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a