Bump actions/checkout from 4.0.0 to 4.1.0 (#515) #35
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: | |
# Build containers for x86 | |
terraform: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- 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 |