From 7e31f66c77255b42acb4ffced14e4f2c70b8faea Mon Sep 17 00:00:00 2001 From: William Douglas Date: Fri, 26 Jan 2024 11:43:55 -0800 Subject: [PATCH] Change linter install process Signed-off-by: William Douglas --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9a92155f..95828928 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ checkcoverage: lint: @if ! $(gopath)/bin/golangci-lint --version &>/dev/null; then \ echo "Installing linters..."; \ - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(gopath)/bin v1.55.2; \ + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2; \ fi @$(gopath)/bin/golangci-lint run --deadline=10m --tests --disable-all \ --enable=misspell \