Skip to content

Commit 4c3475e

Browse files
committed
update golangci-lint installation
1 parent fc2d33c commit 4c3475e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/golangci-lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -ex
33

44
# Keep this in sync with go version used in static-analysis Evergreen build variant.
5-
GO_VERSION=1.22.8
5+
GO_VERSION=1.23.0
66
GOLANGCI_LINT_VERSION=1.60.1
77

88
# Unset the cross-compiler overrides while downloading binaries.
@@ -17,7 +17,7 @@ GOROOT="$(go${GO_VERSION} env GOROOT)"
1717
PATH="$GOROOT/bin:$PATH"
1818
export PATH
1919
export GOROOT
20-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v${GOLANGCI_LINT_VERSION}
20+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v${GOLANGCI_LINT_VERSION}
2121

2222
export GOOS=$GOOS_ORIG
2323
export GOARCH=$GOARCH_ORIG

0 commit comments

Comments
 (0)