Skip to content

Merge pull request #54 from UCL-ARC/renovate/hashicorp-setup-terrafor… #155

Merge pull request #54 from UCL-ARC/renovate/hashicorp-setup-terrafor…

Merge pull request #54 from UCL-ARC/renovate/hashicorp-setup-terrafor… #155

Workflow file for this run

name: TFLint
on:
push:
branches: [ main ]
pull_request:
jobs:
tflint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
name: Checkout source code
- uses: terraform-linters/setup-tflint@19a52fbac37dacb22a09518e4ef6ee234f2d4987 # v4
name: Setup TFLint
with:
# renovate: datasource=github-tags depName=terraform-linters/tflint versioning=loose
tflint_version: v0.53.0
- name: Show version
run: tflint --version
- name: Init TFLint
run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
- name: Run TFLint
run: tflint -f compact