File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 13
13
jobs :
14
14
terraform :
15
15
runs-on : ubuntu-latest
16
- timeout-minutes : 40
16
+ timeout-minutes : 30
17
17
18
18
steps :
19
19
- name : Checkout code
@@ -25,12 +25,10 @@ jobs:
25
25
terraform_version : " 1.10.4"
26
26
27
27
- name : Terraform Init
28
- run : terraform init
28
+ run : terraform init || { echo 'Terraform init failed' ; exit 1; }
29
29
30
- - name : Run terraform fmt with reviewdog
31
- run : |
32
- terraform fmt -check -recursive | reviewdog -f=checkstyle -name="terraform fmt" -reporter=github-pr-review -level=error
30
+ - name : Run terraform fmt
31
+ run : terraform fmt -check -recursive
33
32
34
- - name : Run terraform validate with reviewdog
35
- run : |
36
- terraform validate | reviewdog -f=checkstyle -name="terraform validate" -reporter=github-pr-review -level=error
33
+ - name : Run terraform validate
34
+ run : terraform validate
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ terraform {
9
9
10
10
provider "libvirt" {
11
11
uri = var. libvirt_url
12
- }
12
+ }
You can’t perform that action at this time.
0 commit comments