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}/..."