Skip to content

ci: update sonobuoy version #150

ci: update sonobuoy version

ci: update sonobuoy version #150

Workflow file for this run

name: Terraform code quality
on:
pull_request:
paths-ignore:
- "**.md"
- ".github/workflows/*"
- "!.github/workflows/lint.yaml"
push:
paths-ignore:
- "**.md"
- ".github/workflows/*"
- "!.github/workflows/lint.yaml"
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- name: Terraform fmt
run: terraform fmt
continue-on-error: true
tflint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: ${{ matrix.os }}-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v4
name: Setup TFLint
- name: Init Terraform
run: terraform init
- name: Init TFLint
run: tflint --init
- name: Run TFLint
run: tflint -f compact