From 2539d74d7bcc0d6646a409877b721dd743bc8a03 Mon Sep 17 00:00:00 2001 From: Bartosz Ciesielczyk Date: Fri, 1 Dec 2023 15:16:19 +0100 Subject: [PATCH] Installing golint via go install --- check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check.sh b/check.sh index abaa978e..2da9d57e 100755 --- a/check.sh +++ b/check.sh @@ -48,7 +48,7 @@ echo === Finished echo === Linting... (command -v golint >/dev/null 2>&1 \ - || GO111MODULE=off GOINSECURE=golang.org go get -u golang.org/x/lint/golint) \ + || go install golang.org/x/lint/golint@latest) \ && golint --set_exit_status ./service/... ./common/... LINT_RETURN_CODE=$? echo === Finished