File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3636 - run : go build -v .
3737
3838 - name : Run linters
39- uses : golangci/golangci-lint-action@e60da84bfae8c7920a47be973d75e15710aa8bd7 # v6.3 .0
39+ uses : golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5 .0
4040 with :
4141 version : latest
4242
Original file line number Diff line number Diff line change 11# Visit https://golangci-lint.run/ for usage documentation and information on
22# other useful linters
33issues :
4- max-per-linter : 0
4+ max-issues- per-linter : 0
55 max-same-issues : 0
66
77linters :
88 disable-all : true
99 enable :
1010 - durationcheck
1111 - errcheck
12- - exportloopref
1312 - forcetypeassert
1413 - godot
1514 - gofmt
1615 - gosimple
16+ - govet
1717 - ineffassign
1818 - makezero
1919 - misspell
2020 - nilerr
2121 - predeclared
2222 - staticcheck
23- - tenv
2423 - unconvert
2524 - unparam
2625 - unused
27- - vet
26+ - usetesting
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ build: terraform-provider-coderd
1515terraform-provider-coderd : internal/provider/* .go main.go
1616 CGO_ENABLED=0 go build .
1717
18+ test : testacc
19+ .PHONY : test
20+
1821# Run acceptance tests
19- .PHONY : testacc
2022testacc :
2123 TF_ACC=1 go test ./... -v $(TESTARGS ) -timeout 120m
24+ .PHONY : testacc
You can’t perform that action at this time.
0 commit comments