Skip to content

Merge pull request #39 from DNXLabs/feature/upgrade-iam #90

Merge pull request #39 from DNXLabs/feature/upgrade-iam

Merge pull request #39 from DNXLabs/feature/upgrade-iam #90

Workflow file for this run

name: Lint
on:
push:
pull_request:
jobs:
tflint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout source code
- uses: actions/cache@v3
name: Cache plugin dir
with:
path: ~/.tflint.d/plugins
key: tflint-${{ hashFiles('.tflint.hcl') }}
- uses: terraform-linters/setup-tflint@v3
name: Setup TFLint
with:
tflint_version: v0.48.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: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
- name: Run TFLint
run: tflint -f compact