File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 run : go mod download
1616 - name : Install tools
1717 run : |
18- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
18+ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.22.2
1919 cd $(mktemp -d)
2020 go mod init tmp
2121 go get github.com/gobuffalo/packr/v2/packr2
9595 run : go mod download
9696 - name : Install tools
9797 run : |
98- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.21.0
98+ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.22.2
9999 cd $(mktemp -d)
100100 go mod init tmp
101101 go get github.com/gobuffalo/packr/v2/packr2
Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ linters:
22 enable-all : true
33 disable :
44 - funlen
5+ - gochecknoglobals
56 - gocognit
67 - goconst
78 - gocyclo
89 - godox
10+ - gomnd
911 - lll
1012 - maligned
1113 - wsl
@@ -19,12 +21,8 @@ issues:
1921 - dupl
2022 path : " secretpass.go"
2123 - linters :
22- - gochecknoglobals
2324 - gochecknoinits
2425 path : cmd/
25- - linters :
26- - gochecknoglobals
27- path : internal/
2826 - linters :
2927 - scopelint
3028 path : " _test\\ .go"
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ generate:
3535
3636.PHONY : install-tools
3737install-tools :
38- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.21.0
38+ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- v1.22.2
3939 GO111MODULE=off go get -u \
4040 github.com/gobuffalo/packr/v2/packr2 \
4141 mvdan.cc/gofumpt/gofumports
You can’t perform that action at this time.
0 commit comments