Skip to content

Commit

Permalink
update golangci-lint to go1.22 compatible version
Browse files Browse the repository at this point in the history
Signed-off-by: deepthi <[email protected]>
  • Loading branch information
deepthi committed Mar 6, 2024
1 parent 06f8789 commit f28ae15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/git/hooks/golangci-lint
Original file line number Diff line number Diff line change
Expand Up @@ -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$')
Expand Down

0 comments on commit f28ae15

Please sign in to comment.