]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
ci/run: use `go install` to install staticcheck
authorSimon Ruderich <simon@ruderich.org>
Tue, 7 Dec 2021 09:34:16 +0000 (10:34 +0100)
committerSimon Ruderich <simon@ruderich.org>
Tue, 7 Dec 2021 09:34:16 +0000 (10:34 +0100)
Go 1.18+ will not install software with `go get` anymore.

ci/run

diff --git a/ci/run b/ci/run
index 67c0e47c74713e8bc775761dd341137e1e3046c7..97354dc384365dad2eea65060989f0c9af975d7f 100755 (executable)
--- a/ci/run
+++ b/ci/run
@@ -32,7 +32,7 @@ make $flags
 make test $flags
 
 # Additional static checks only run in CI
-go get honnef.co/go/tools/cmd/staticcheck
+go install honnef.co/go/tools/cmd/staticcheck@latest
 staticcheck ./...
 
 test -z "$(git clean -nd)" # any untracked files left?