Update golangci-lint from 1.46.2 to 1.49.0

Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
This commit is contained in:
RainbowMango 2022-09-26 17:53:19 +08:00
parent 75a0305a8c
commit a52ae325f9
2 changed files with 1 additions and 4 deletions

View File

@ -32,15 +32,12 @@ linters:
- goimports
- govet
# linters default enabled by golangci-lint .
- deadcode
- errcheck
- gosimple
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
# other linters supported by golangci-lint.
- gci
- gocyclo

View File

@ -6,7 +6,7 @@ set -o pipefail
REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
GOLANGCI_LINT_PKG="github.com/golangci/golangci-lint/cmd/golangci-lint"
GOLANGCI_LINT_VER="v1.46.2"
GOLANGCI_LINT_VER="v1.49.0"
cd "${REPO_ROOT}"
source "hack/util.sh"