Skip to content

create reusable workflow #22

create reusable workflow

create reusable workflow #22

Workflow file for this run

name: Pre-commit CI
on:
push
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.7.5"
- uses: terraform-linters/setup-tflint@v4
with:
tflint_version: "v0.51.1"
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files