File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ jobs:
16
16
steps :
17
17
- name : Checkout code
18
18
uses : actions/checkout@v4
19
-
19
+
20
20
- name : Setup Terraform
21
21
uses : hashicorp/setup-terraform@v3
22
22
with :
23
23
terraform_wrapper : false
24
-
24
+
25
25
- name : Get changed directories
26
26
id : changed-files
27
- uses : tj-actions/changed-files@v45
27
+ uses : tj-actions/changed-files@v46
28
28
with :
29
29
dir_names : ' true'
30
-
30
+
31
31
- name : Validate Terraform format
32
32
if : steps.changed-files.outputs.any_changed == 'true'
33
33
env :
Original file line number Diff line number Diff line change @@ -16,18 +16,18 @@ jobs:
16
16
steps :
17
17
- name : Checkout code
18
18
uses : actions/checkout@v4
19
-
19
+
20
20
- name : Setup Terraform
21
21
uses : hashicorp/setup-terraform@v3
22
22
with :
23
23
terraform_wrapper : false
24
-
24
+
25
25
- name : Get changed directories
26
26
id : changed-files
27
- uses : tj-actions/changed-files@v45
27
+ uses : tj-actions/changed-files@v46
28
28
with :
29
29
dir_names : ' true'
30
-
30
+
31
31
- name : Validate Terraform sytnax
32
32
if : steps.changed-files.outputs.any_changed == 'true'
33
33
env :
43
43
rm -rf .terraform/
44
44
cd ${{ github.workspace }}
45
45
done
46
- exit $EXIT_CODE
46
+ exit $EXIT_CODE
You can’t perform that action at this time.
0 commit comments