Skip to content

Commit 957b191

Browse files
committed
update tf test matrix
1 parent d666173 commit 957b191

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/test.yml

+10-11
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ name: Tests
66
on:
77
pull_request:
88
paths-ignore:
9-
- 'README.md'
9+
- "README.md"
1010
push:
1111
paths-ignore:
12-
- 'README.md'
12+
- "README.md"
1313

1414
# Testing only needs permissions to read the repository contents.
1515
permissions:
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2626
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2727
with:
28-
go-version-file: 'go.mod'
28+
go-version-file: "go.mod"
2929
cache: true
3030
- run: go mod download
3131
- run: go build -v .
@@ -40,13 +40,13 @@ jobs:
4040
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4141
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
4242
with:
43-
go-version-file: 'go.mod'
43+
go-version-file: "go.mod"
4444
cache: true
4545
# Temporarily download Terraform 1.8 prerelease for function documentation support.
4646
# When Terraform 1.8.0 final is released, this can be removed.
4747
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
4848
with:
49-
terraform_version: '1.8.0-alpha20240216'
49+
terraform_version: "1.8.0-alpha20240216"
5050
terraform_wrapper: false
5151
- run: go generate ./...
5252
- name: git diff
@@ -65,17 +65,16 @@ jobs:
6565
matrix:
6666
# list whatever Terraform versions here you would like to support
6767
terraform:
68-
# TODO: test with more terraform versions. For now, testing with latest.
69-
# - "1.5.*"
70-
# - "1.6.*"
71-
# - "1.7.*"
72-
# - "1.8.*"
68+
- "1.5.*"
69+
- "1.6.*"
70+
- "1.7.*"
71+
- "1.8.*"
7372
- "1.9.*"
7473
steps:
7574
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7675
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
7776
with:
78-
go-version-file: 'go.mod'
77+
go-version-file: "go.mod"
7978
cache: true
8079
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
8180
with:

0 commit comments

Comments
 (0)