build: upgrade golangci to 1.22.2 (#20566)
* build: upgrade golangci to 1.22.2 * .golangci.yml: don't fail on asset deadcode
This commit is contained in:
committed by
Péter Szilágyi
parent
b3b8d36995
commit
1ee754b056
@ -356,7 +356,7 @@ func doLint(cmdline []string) {
|
||||
|
||||
// downloadLinter downloads and unpacks golangci-lint.
|
||||
func downloadLinter(cachedir string) string {
|
||||
const version = "1.21.0"
|
||||
const version = "1.22.2"
|
||||
|
||||
csdb := build.MustLoadChecksums("build/checksums.txt")
|
||||
base := fmt.Sprintf("golangci-lint-%s-%s-%s", version, runtime.GOOS, runtime.GOARCH)
|
||||
|
Reference in New Issue
Block a user