File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -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@11bd71901bbe5b1630ceea73d27597364c9af683
26
26
- uses : actions/setup-go@v5
27
27
with :
28
- go-version-file : ' go.mod'
28
+ go-version-file : " go.mod"
29
29
cache : false
30
30
- run : go mod download
31
31
- run : go build -v .
40
40
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
41
41
- uses : actions/setup-go@v5
42
42
with :
43
- go-version-file : ' go.mod'
43
+ go-version-file : " go.mod"
44
44
cache : false
45
+ - uses : hashicorp/setup-terraform@v3
45
46
- run : go generate ./...
46
47
- name : git diff
47
48
run : |
@@ -59,16 +60,16 @@ jobs:
59
60
matrix :
60
61
# list whatever Terraform versions here you would like to support
61
62
terraform :
62
- - ' 1.0.*'
63
- - ' 1.1.*'
64
- - ' 1.2.*'
65
- - ' 1.3.*'
66
- - ' 1.4.*'
63
+ - " 1.0.*"
64
+ - " 1.1.*"
65
+ - " 1.2.*"
66
+ - " 1.3.*"
67
+ - " 1.4.*"
67
68
steps :
68
69
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
69
70
- uses : actions/setup-go@v5
70
71
with :
71
- go-version-file : ' go.mod'
72
+ go-version-file : " go.mod"
72
73
cache : true
73
74
- uses : hashicorp/setup-terraform@v3
74
75
with :
Original file line number Diff line number Diff line change @@ -7,13 +7,14 @@ issues:
7
7
linters :
8
8
disable-all : true
9
9
enable :
10
+ - copyloopvar
10
11
- durationcheck
11
12
- errcheck
12
- - exportloopref
13
13
- forcetypeassert
14
14
- godot
15
15
- gofmt
16
16
- gosimple
17
+ - govet
17
18
- ineffassign
18
19
- makezero
19
20
- misspell
@@ -24,4 +25,4 @@ linters:
24
25
- unconvert
25
26
- unparam
26
27
- unused
27
- - vet
28
+
You can’t perform that action at this time.
0 commit comments