File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -89,26 +89,23 @@ jobs:
8989 terraform-validate :
9090 runs-on : ubuntu-latest
9191 timeout-minutes : 10
92+ defaults :
93+ run :
94+ working-directory : terraform
9295 steps :
9396 - uses : actions/checkout@v4
9497 - name : Setup Terraform
9598 uses : hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
96- with :
97- terraform_version : " 1.13.5"
9899 - name : Install tflint
99100 run : |
100101 curl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
101102 - name : Terraform Format Check
102- working-directory : terraform
103103 run : terraform fmt -check -recursive
104104 - name : Terraform Init
105- working-directory : terraform
106105 run : terraform init -backend=false
107106 - name : Terraform Validate
108- working-directory : terraform
109107 run : terraform validate
110108 - name : Run tflint
111- working-directory : terraform
112109 run : tflint --init && tflint
113110
114111 sops-secrets-check :
You can’t perform that action at this time.
0 commit comments