Merge pull request #367 from danskernesdigitalebibliotek/dependabot/g… #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run terraform fmt on all terraform files found in the infrastructure/terraform | |
# folder. | |
on: | |
push: | |
paths: | |
- "infrastructure/**.tf" | |
- "infrastructure/**.tfvars" | |
- ".github/workflows/terraform-lint.yaml" | |
name: Terraform Lint | |
jobs: | |
terraform_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: hashicorp/[email protected] | |
- name: Terraform fmt | |
id: fmt | |
run: terraform fmt -recursive -check infrastructure/terraform | |
continue-on-error: false |