File tree 4 files changed +14
-13
lines changed
4 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 11
11
- name : golangci-lint
12
12
uses : golangci/golangci-lint-action@v2
13
13
with :
14
- version : v1.44
14
+ version : v1.54
15
15
env :
16
16
VERBOSE : " true"
17
17
22
22
- uses : actions/checkout@v2
23
23
- uses : actions/setup-go@v2
24
24
with :
25
- go-version : 1.15
25
+ go-version : 1.18
26
26
- uses : actions/cache@v2
27
27
with :
28
28
path : ~/go/pkg/mod
39
39
- uses : actions/checkout@v2
40
40
- uses : actions/setup-go@v2
41
41
with :
42
- go-version : 1.16
42
+ go-version : 1.18
43
43
- uses : actions/cache@v2
44
44
with :
45
45
path : ~/go/pkg/mod
64
64
fail-fast : false
65
65
matrix :
66
66
go_version :
67
- - " 1.15"
68
- - " 1.16"
69
- - " 1.17"
67
+ - " 1.18"
68
+ - " 1.19"
69
+ - " 1.20"
70
+ - " 1.21"
70
71
runs-on : ubuntu-latest
71
72
steps :
72
73
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ linters:
24
24
enable :
25
25
- asciicheck
26
26
- bodyclose
27
- - deadcode
28
- - depguard
29
27
- durationcheck
30
28
- errcheck
31
29
- errorlint
@@ -58,13 +56,11 @@ linters:
58
56
- rowserrcheck
59
57
- sqlclosecheck
60
58
- staticcheck
61
- - structcheck
62
59
- tparallel
63
60
- typecheck
64
61
- unconvert
65
62
- unparam
66
63
- unused
67
- - varcheck
68
64
- wastedassign
69
65
- whitespace
70
66
Original file line number Diff line number Diff line change 49
49
$(eval $(call tool,godoc,golang.org/x/tools/cmd/godoc))
50
50
$(eval $(call tool,gofumpt,mvdan.cc/gofumpt))
51
51
$(eval $(call tool,goimports,golang.org/x/tools/cmd/goimports))
52
- $(eval $(call tool,golangci-lint,github.com/golangci/golangci-lint/cmd/golangci-lint@v1.44 ))
52
+ $(eval $(call tool,golangci-lint,github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54 ))
53
53
$(eval $(call tool,gomod,github.com/Helcaraxan/gomod))
54
54
55
55
.PHONY : tools
Original file line number Diff line number Diff line change 1
1
module github.com/romdo/gomockctx
2
2
3
- go 1.15
3
+ go 1.18
4
4
5
5
require (
6
- github.com/davecgh/go-spew v1.1.1 // indirect
7
6
github.com/golang/mock v1.6.0
8
7
github.com/stretchr/testify v1.7.0
8
+ )
9
+
10
+ require (
11
+ github.com/davecgh/go-spew v1.1.1 // indirect
12
+ github.com/pmezard/go-difflib v1.0.0 // indirect
9
13
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
10
14
)
You can’t perform that action at this time.
0 commit comments