Fix tflint #2
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: Run Terraform check | |
on: | |
- push | |
jobs: | |
terraform-check: | |
name: Run Terraform check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
- name: Show version | |
run: | | |
terraform -version | |
- name: Run check format | |
run: | | |
terraform fmt -recursive -check -no-color |