Skip to content

chore: Bump andstor/file-existence-action from 2 to 3 #85

chore: Bump andstor/file-existence-action from 2 to 3

chore: Bump andstor/file-existence-action from 2 to 3 #85

Workflow file for this run

name: Lint Code
on:
pull_request
permissions:
contents: read
jobs:
lint:
name: Lint Code
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache TFLint Plugins
uses: actions/cache@v4
with:
path: ~/.tflint.d/plugins
key: tflint-${{ hashFiles('.tflint.hcl') }}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.0.0"
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v4
with:
tflint_version: "v0.49.0"
- name: TFLint
run: |
tflint --init
tflint --recursive --format=compact