File tree Expand file tree Collapse file tree 5 files changed +13
-18
lines changed
Expand file tree Collapse file tree 5 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 77 name : Terraform
88 runs-on : ubuntu-latest
99 steps :
10- - name : Checkout code
11- uses : actions/checkout@v4
12-
13- - name : Read Terraform Version from .tool-versions
14- uses : straw-hat-team/github-actions-workflows/asdf/get-version@v1.7.0
15- id : terraform-version
10+ - uses : actions/checkout@v4.2.2
11+ - uses : straw-hat-team/github-actions-workflows/asdf/get-version@v1.7.0
12+ id : opentofu-version
1613 with :
17- plugin-name : terraform
18-
19- - name : Install Terraform
20- uses : hashicorp/setup-terraform@v3.1.2
14+ plugin-name : opentofu
15+ - uses : opentofu/setup-opentofu@v1.0.5
2116 with :
22- terraform_version : ${{ steps.terraform -version.outputs.plugin-version }}
23-
24- - name : Terraform format
25- run : terraform fmt -check -recursive .
17+ tofu_version : ${{ steps.opentofu -version.outputs.plugin-version }}
18+ tofu_wrapper : true
19+ - name : tofu fmt
20+ run : tofu fmt -check -recursive -diff
Original file line number Diff line number Diff line change 1- terraform 1.2.5
1+ opentofu 1.8.7
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33 required_providers {
44 github = {
55 source = " integrations/github"
6- version = " ~> 5 .0"
6+ version = " ~> 6 .0"
77 }
88 }
99}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33 required_providers {
44 github = {
55 source = " integrations/github"
6- version = " ~> 5 .0"
6+ version = " ~> 6 .0"
77 }
88 }
99}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ terraform {
33 required_providers {
44 github = {
55 source = " integrations/github"
6- version = " ~> 5 .0"
6+ version = " ~> 6 .0"
77 }
88 }
99}
You can’t perform that action at this time.
0 commit comments