relax version constraint #14
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 checks | |
on: [pull_request] | |
jobs: | |
build: | |
name: lint and validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hashicorp/[email protected] | |
- name: Terraform fmt | |
id: fmt | |
run: terraform fmt -recursive -check | |
- name: Terraform Validate | |
id: validate | |
run: | | |
cd example | |
terraform init -backend=false | |
terraform validate -no-color | |
terraform fmt --check |