Skip to content

Commit 19fc7f8

Browse files
committed
update golangci-lint installation
1 parent fc2d33c commit 19fc7f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/golangci-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)