Skip to content

Merge pull request #52 from UCL-ARC/renovate/projectcalico-calico-3.x #153

Merge pull request #52 from UCL-ARC/renovate/projectcalico-calico-3.x

Merge pull request #52 from UCL-ARC/renovate/projectcalico-calico-3.x #153

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.52.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