From: Simon Ruderich Date: Tue, 7 Dec 2021 09:34:16 +0000 (+0100) Subject: ci/run: use `go install` to install staticcheck X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=dc6069f6f7b3b6be5306dd247d2f40e5d319d817;p=safcm%2Fsafcm.git ci/run: use `go install` to install staticcheck Go 1.18+ will not install software with `go get` anymore. --- diff --git a/ci/run b/ci/run index 67c0e47..97354dc 100755 --- 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?