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