Skip to content

Commit 4c4ec84

Browse files
authored
chore!: upgrade to v6 (#25)
1 parent 2324d99 commit 4c4ec84

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,14 @@ jobs:
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

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
terraform 1.2.5
1+
opentofu 1.8.7

modules/membership/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

modules/repository/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

modules/team/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)