Skip to content

2024 Apr secu updates + remove beta #18

2024 Apr secu updates + remove beta

2024 Apr secu updates + remove beta #18

Workflow file for this run

name: Lint
on:
push:
branches: [ master ]
pull_request:
jobs:
tflint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout source code
- uses: actions/cache@v4
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: ubuntu-latest-tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v4
name: Setup TFLint
with:
tflint_version: v0.47.0
- name: Show version
run: tflint --version
- name: Show help
run: tflint --help
- 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 --minimum-failure-severity warning --recursive --config "$(pwd)/.tflint.hcl"