File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : " 2"
2+
13run :
4+ modules-download-mode : vendor
25 tests : false
3- timeout : 10m
4- linters :
5- disable-all : true
6+
7+ formatters :
68 enable :
7- - misspell
89 - gofmt
910 - goimports
11+
12+ linters :
13+ default : none
14+ enable :
15+ - govet
1016 - ineffassign
17+ - misspell
1118 - revive
1219 - unconvert
1320 - unused
14- - govet
15-
21+ exclusions :
22+ presets :
23+ - comments
24+ - common-false-positives
25+ - legacy
26+ - std-error-handling
27+ rules :
28+ - linters :
29+ - revive
30+ text : " (unused-parameter|redefines-builtin-id):"
Original file line number Diff line number Diff line change 22
33ARG GO_VERSION=1.18.9
44ARG PROTOC_VERSION=3.11.4
5- ARG GOLANGCI_LINT_VERSION=v1.50.1
5+ ARG GOLANGCI_LINT_VERSION=v2.1.6
66ARG DEBIAN_FRONTEND=noninteractive
77
88FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-bullseye AS gobase
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ version/version.go:
4141.PHONY : setup
4242setup : # # install dependencies
4343 @echo " 🐳 $@ "
44- # install golangci-lint version v1.50.1 to ./bin/golangci-lint
45- @curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/v1.50.1 /install.sh | sh -s v1.50.1
44+ # install golangci-lint version v2.1.6 to ./bin/golangci-lint
45+ @curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD /install.sh | sh -s v2.1.6
4646 @ (cd tools ; GO111MODULE=on go install github.com/containerd/protobuild)
4747
4848.PHONY : generate
You can’t perform that action at this time.
0 commit comments