File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ name: Build and test
33on : [push, pull_request]
44
55env :
6- GOLANGCI_LINT_VERSION : v1.49.0
6+ GOLANGCI_LINT_VERSION : v1.53.2
77
88jobs :
99 build :
1010 runs-on : ubuntu-20.04
1111 strategy :
1212 matrix :
13- go-version : [1.18 , 1.x]
13+ go-version : [1.19 , 1.x]
1414
1515 steps :
1616 - name : Set up Go ${{ matrix.go-version }}
17- uses : actions/setup-go@v2
17+ uses : actions/setup-go@v3
1818 with :
1919 go-version : ${{ matrix.go-version }}
2020
Original file line number Diff line number Diff line change @@ -24,11 +24,15 @@ linters-settings:
2424 gofumpt :
2525 extra-rules : false
2626 depguard :
27- list-type : blacklist
28- include-go-root : false
29- packages :
30- - github.com/sirupsen/logrus
31- - github.com/pkg/errors
27+ rules :
28+ main :
29+ deny :
30+ - pkg : " github.com/instana/testify"
31+ desc : not allowed
32+ - pkg : " github.com/sirupsen/logrus"
33+ desc : not allowed
34+ - pkg : " github.com/pkg/errors"
35+ desc : Should be replaced by standard lib errors package
3236 gocritic :
3337 enabled-tags :
3438 - diagnostic
You can’t perform that action at this time.
0 commit comments