File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 3939 runs-on : ubuntu-latest
4040 steps :
4141 - uses : actions/checkout@v2
42+ - uses : actions/setup-go@v1
43+ with :
44+ go-version : ' 1.18'
4245 -
uses :
golangci/[email protected] 4346 with :
44- version : v1.29.0
47+ version : v1.47.2
4548 args : --timeout=3m
Original file line number Diff line number Diff line change @@ -2,16 +2,12 @@ linters:
22 disable-all : true
33 enable :
44 - govet
5- - gosimple
65 - errcheck
7- - staticcheck
8- - structcheck
96 - varcheck
107 - ineffassign
118 - typecheck
129 - misspell
1310 - goimports
14- - unused
1511linters-settings :
1612 goimports :
1713 # put imports beginning with prefix after 3rd-party package
Original file line number Diff line number Diff line change 8888
8989.PHONY : install-linter
9090install-linter :
91- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GOPATH} /bin v1.29.0
91+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GOPATH} /bin v1.47.2
9292
9393.PHONY : lint
9494lint :
You can’t perform that action at this time.
0 commit comments