Skip to content

Commit cd25c1f

Browse files
committed
update
1 parent 467fc42 commit cd25c1f

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/terraform.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
terraform:
1515
runs-on: ubuntu-latest
16-
timeout-minutes: 40
16+
timeout-minutes: 30
1717

1818
steps:
1919
- name: Checkout code
@@ -25,12 +25,10 @@ jobs:
2525
terraform_version: "1.10.4"
2626

2727
- name: Terraform Init
28-
run: terraform init
28+
run: terraform init || { echo 'Terraform init failed' ; exit 1; }
2929

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
3332

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

kvm/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ terraform {
99

1010
provider "libvirt" {
1111
uri = var.libvirt_url
12-
}
12+
}

0 commit comments

Comments
 (0)