Skip to content

Commit 8b8998f

Browse files
committed
chore(ci): use OpenTofu
Signed-off-by: Yoan Blanc <yblanc@edgelab.ch>
1 parent 59fc08c commit 8b8998f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest]
10-
terraform-versions: [1.2.x, 1.3.x]
10+
tofu-versions: [1.9.x]
1111
steps:
1212
- name: Checkout
1313
uses: actions/checkout@v4
1414

15-
- name: Setup Terraform
16-
uses: hashicorp/setup-terraform@v3.1.2
15+
- name: Setup OpenTofu
16+
uses: opentofu/setup-opentofu@v1
1717
with:
18-
terraform_version: ${{ matrix['terraform-versions'] }}
19-
terraform_wrapper: false
18+
tofu_version: ${{ matrix['tofu-versions'] }}
2019

21-
- name: Terraform fmt
20+
- name: Tofu fmt
2221
id: fmt
23-
run: terraform fmt -check
22+
run: tofu fmt -check

0 commit comments

Comments
 (0)