File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 36
36
- run : go build -v .
37
37
38
38
- name : Run linters
39
- uses : golangci/golangci-lint-action@e60da84bfae8c7920a47be973d75e15710aa8bd7 # v6.3 .0
39
+ uses : golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5 .0
40
40
with :
41
41
version : latest
42
42
Original file line number Diff line number Diff line change 1
1
# Visit https://golangci-lint.run/ for usage documentation and information on
2
2
# other useful linters
3
3
issues :
4
- max-per-linter : 0
4
+ max-issues- per-linter : 0
5
5
max-same-issues : 0
6
6
7
7
linters :
8
8
disable-all : true
9
9
enable :
10
10
- durationcheck
11
11
- errcheck
12
- - exportloopref
13
12
- forcetypeassert
14
13
- godot
15
14
- gofmt
16
15
- gosimple
16
+ - govet
17
17
- ineffassign
18
18
- makezero
19
19
- misspell
20
20
- nilerr
21
21
- predeclared
22
22
- staticcheck
23
- - tenv
24
23
- unconvert
25
24
- unparam
26
25
- unused
27
- - vet
26
+ - usetesting
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ build: terraform-provider-coderd
15
15
terraform-provider-coderd : internal/provider/* .go main.go
16
16
CGO_ENABLED=0 go build .
17
17
18
+ test : testacc
19
+ .PHONY : test
20
+
18
21
# Run acceptance tests
19
- .PHONY : testacc
20
22
testacc :
21
23
TF_ACC=1 go test ./... -v $(TESTARGS ) -timeout 120m
24
+ .PHONY : testacc
You can’t perform that action at this time.
0 commit comments