Skip to content

[pull] main from 2i2c-org:main #253

[pull] main from 2i2c-org:main

[pull] main from 2i2c-org:main #253

name: Lint terraform
on:
pull_request:
paths:
- "terraform/**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- uses: terraform-linters/setup-tflint@v4
- name: Run terraform linter
run: |
cd terraform
tflint --recursive
- name: Check terraform formatting
run: terraform fmt -check -diff terraform/