Update golangci version to latest v1.46.0 (#2560)

Update golangci version to latest https://github.com/golangci/golangci-lint/tree/v1.46.0
This commit is contained in:
Denys Holius 2022-05-09 17:52:36 +03:00 committed by Aliaksandr Valialkin
parent d5efd3949b
commit 8752ed9985
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -160,7 +160,7 @@ golangci-lint: install-golangci-lint
golangci-lint run --exclude '(SA4003|SA1019|SA5011):' -D errcheck -D structcheck --timeout 2m
install-golangci-lint:
which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.45.1
which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.46.0
install-wwhrd:
which wwhrd || GO111MODULE=off go get github.com/frapposelli/wwhrd