git » spf » commit d9db5f7

gitlab-ci: Update "go get" to "go install"

author Alberto Bertogli
2022-03-19 10:50:36 UTC
committer Alberto Bertogli
2022-03-19 10:59:14 UTC
parent 1bd7bc8bd40d633f9e51980e04a1264bb16082a8

gitlab-ci: Update "go get" to "go install"

Our use of "go get" to install binaries is deprecated, update it to "go
install".

.gitlab-ci.yml +1 -1

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03d6d8a..dbcdeb0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,6 @@ coverage:
   image: golang:latest
   script:
     - go test -covermode=count -coverprofile=coverage.out
-    - go get github.com/mattn/goveralls
+    - go install github.com/mattn/goveralls@latest
     - goveralls -coverprofile=coverage.out -service=gitlab -repotoken=$COVERALLS_TOKEN