From f28ae153204063c5f767710050d039f0de895195 Mon Sep 17 00:00:00 2001 From: deepthi Date: Tue, 5 Mar 2024 18:21:51 -0800 Subject: [PATCH] update golangci-lint to go1.22 compatible version Signed-off-by: deepthi --- misc/git/hooks/golangci-lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/git/hooks/golangci-lint b/misc/git/hooks/golangci-lint index 3ad4775271a..d152cb965a3 100755 --- a/misc/git/hooks/golangci-lint +++ b/misc/git/hooks/golangci-lint @@ -16,7 +16,7 @@ GOLANGCI_LINT=$(command -v golangci-lint >/dev/null 2>&1) if [ $? -eq 1 ]; then echo "Downloading golangci-lint..." - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 fi gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '^go/.*\.go$')