From e886fae2b1be25db9922ec69e6f076cbc1434934 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Thu, 17 Mar 2022 11:39:57 +0100 Subject: [PATCH] ci: use go install pkg@latest Signed-off-by: Sebastien Binet --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c20f38e..037077eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,15 +61,11 @@ jobs: - name: Check copyrights+formatting run: | # Required for format check. - go get golang.org/x/tools/cmd/goimports + go install golang.org/x/tools/cmd/goimports@latest # Required for imports check. - go get gonum.org/v1/tools/cmd/check-imports + go install gonum.org/v1/tools/cmd/check-imports@latest # Required for copyright header check. - go get gonum.org/v1/tools/cmd/check-copyright - - go install golang.org/x/tools/cmd/goimports - go install gonum.org/v1/tools/cmd/check-imports - go install gonum.org/v1/tools/cmd/check-copyright + go install gonum.org/v1/tools/cmd/check-copyright@latest ./.ci/check-copyright.sh ./.ci/check-formatting.sh