Skip to content

Commit

Permalink
Merge pull request #248 from DFE-Digital/tflint
Browse files Browse the repository at this point in the history
Add Terraform Linter GitHub Action workflow
  • Loading branch information
DrizzlyOwl authored Apr 19, 2023
2 parents 7ef5bb4 + 2b58382 commit 3c5eb24
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/continuous-integration-tflint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Terraform Lint

on:
pull_request:

jobs:
tflint:
name: tflint
runs-on: ubuntu-latest
defaults:
run:
working-directory: terraform
steps:
- name: Clone repo
uses: actions/checkout@v3

- name: Setup TFLint
uses: terraform-linters/setup-tflint@v3
with:
tflint_version: v0.44.1

- name: Run TFLint
run: tflint -f compact

0 comments on commit 3c5eb24

Please sign in to comment.