From 40065b4a7f8fd699a36c160d73634359f2dd453f Mon Sep 17 00:00:00 2001
From: Girija Saint Ange <girija.saintange@gmail.com>
Date: Fri, 7 Jan 2022 10:17:30 +0000
Subject: [PATCH] fix: Suffix version for go install command

---
 templates/gitlab-ci-golang.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/gitlab-ci-golang.yml b/templates/gitlab-ci-golang.yml
index 62b2362..1ddd074 100644
--- a/templates/gitlab-ci-golang.yml
+++ b/templates/gitlab-ci-golang.yml
@@ -122,7 +122,7 @@ stages:
   function install_go_junit_report() {
     cd "$(mktemp -d)"
     go mod init go-junit-report
-    go install github.com/jstemmer/go-junit-report
+    go install github.com/jstemmer/go-junit-report@latest
     cd -
   }
 
@@ -149,7 +149,7 @@ stages:
   function install_go_mod_outdated() {
     cd "$(mktemp -d)"
     go mod init go-mod-outdated
-    go install github.com/psampaz/go-mod-outdated
+    go install github.com/psampaz/go-mod-outdated@latest
     cd -
   }
 
-- 
GitLab