fix(tffmt): fix CI and run terraform fmt #2943
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: | |
push: | |
pull_request: | |
jobs: | |
terraform-actions: | |
name: Workflow | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v2 | |
- name: Terraform fmt | |
run: | | |
terraform fmt -check -recursive . |