@@ -6,10 +6,10 @@ name: Tests
6
6
on :
7
7
pull_request :
8
8
paths-ignore :
9
- - ' README.md'
9
+ - " README.md"
10
10
push :
11
11
paths-ignore :
12
- - ' README.md'
12
+ - " README.md"
13
13
14
14
# Testing only needs permissions to read the repository contents.
15
15
permissions :
25
25
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
26
26
- uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
27
27
with :
28
- go-version-file : ' go.mod'
28
+ go-version-file : " go.mod"
29
29
cache : true
30
30
- run : go mod download
31
31
- run : go build -v .
@@ -40,13 +40,13 @@ jobs:
40
40
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
41
41
- uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
42
42
with :
43
- go-version-file : ' go.mod'
43
+ go-version-file : " go.mod"
44
44
cache : true
45
45
# Temporarily download Terraform 1.8 prerelease for function documentation support.
46
46
# When Terraform 1.8.0 final is released, this can be removed.
47
47
- uses : hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
48
48
with :
49
- terraform_version : ' 1.8.0-alpha20240216'
49
+ terraform_version : " 1.8.0-alpha20240216"
50
50
terraform_wrapper : false
51
51
- run : go generate ./...
52
52
- name : git diff
@@ -65,17 +65,16 @@ jobs:
65
65
matrix :
66
66
# list whatever Terraform versions here you would like to support
67
67
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.*"
73
72
- " 1.9.*"
74
73
steps :
75
74
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
76
75
- uses : actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
77
76
with :
78
- go-version-file : ' go.mod'
77
+ go-version-file : " go.mod"
79
78
cache : true
80
79
- uses : hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1
81
80
with :
0 commit comments