From dc6069f6f7b3b6be5306dd247d2f40e5d319d817 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 7 Dec 2021 10:34:16 +0100 Subject: [PATCH] ci/run: use `go install` to install staticcheck Go 1.18+ will not install software with `go get` anymore. --- ci/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- 2.45.2