From 384c49d635c782a825e047156365883c69e4cb88 Mon Sep 17 00:00:00 2001 From: Matthew Steffen Date: Fri, 23 Apr 2021 10:58:41 -0700 Subject: [PATCH] Change go get to go install Per Go proposal https://github.com/golang/go/issues/40276 --- etc/testing/lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/testing/lint.sh b/etc/testing/lint.sh index 927ed1bfb16..58ee560e1bf 100755 --- a/etc/testing/lint.sh +++ b/etc/testing/lint.sh @@ -20,7 +20,7 @@ done # Update golint once a day, or if it isn't installed if [ -z "$(find "$(command -v golint)" -mtime -1 2>/dev/null)" ]; then - go get -u golang.org/x/lint/golint + go install -u golang.org/x/lint/golint fi find "./src" \ @@ -36,7 +36,7 @@ fi # Update staticcheck once a day, or if it isn't installed if [ -z "$(find "$(command -v staticcheck)" -mtime -1 2>/dev/null)" ]; then - go get -u honnef.co/go/tools/cmd/staticcheck + go install -u honnef.co/go/tools/cmd/staticcheck fi staticcheck "${GIT_REPO_DIR}/..."