From d80e355bec3903145722aaff9d2a955414a0274f Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 4 May 2024 08:42:47 +0300 Subject: [PATCH] install tools --- .github/run-tests.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/run-tests.sh b/.github/run-tests.sh index 93e0f6a..89f15ed 100755 --- a/.github/run-tests.sh +++ b/.github/run-tests.sh @@ -1,9 +1,13 @@ #!/bin/sh -# Install tools to test our code-quality. -go get -u golang.org/x/lint/golint -go get -u golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow -go get -u honnef.co/go/tools/cmd/staticcheck +# I don't even .. +go env -w GOFLAGS="-buildvcs=false" + +# Install the lint-tool, and the shadow-tool +go install golang.org/x/lint/golint@latest +go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest +go install honnef.co/go/tools/cmd/staticcheck@latest + # Run the static-check tool.