Bump actions/checkout from 4.2.1 to 4.2.2 #113
Workflow file for this run
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
name: Terraform | |
on: | |
pull_request: | |
paths: | |
- 'terraform/**' | |
- '.github/workflows/terraform.yml' | |
push: | |
branches: | |
- main | |
paths: | |
- terraform/ | |
- '.github/workflows/terraform.yml' | |
jobs: | |
terraform: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
- run: terraform -chdir=terraform/ fmt -check | |
- run: terraform -chdir=terraform/ init -backend=false | |
# Need to have a values.yaml for validate to pass. | |
- run: cp terraform/values.yaml.template terraform/values.yaml | |
- run: terraform -chdir=terraform/ validate |