diff --git a/script/lint b/script/lint index 47dd537ea..ab6fda514 100755 --- a/script/lint +++ b/script/lint @@ -8,7 +8,7 @@ BINARY=$BINDIR/golangci-lint GOLANGCI_LINT_VERSION=v2.5.0 if [ ! -f "$BINARY" ]; then - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$GOLANGCI_LINT_VERSION" + curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b "$BINDIR" "$GOLANGCI_LINT_VERSION" fi -$BINARY run \ No newline at end of file +"$BINARY" run