From 861587b50bb011e1783d100e748db3e7852feb47 Mon Sep 17 00:00:00 2001 From: elinuxhenrik Date: Fri, 21 Oct 2022 16:03:21 +0200 Subject: [PATCH] Fix sonar job after Go version uplift Issue-ID: NONRTRIC-812 Signed-off-by: elinuxhenrik Change-Id: I850a5cf1a7bfe52050a098f726d8480964a32034 --- icsversion/build-ransliceassurance-ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icsversion/build-ransliceassurance-ubuntu.sh b/icsversion/build-ransliceassurance-ubuntu.sh index 8b57494..63f317b 100755 --- a/icsversion/build-ransliceassurance-ubuntu.sh +++ b/icsversion/build-ransliceassurance-ubuntu.sh @@ -22,13 +22,13 @@ echo "--> build-ransliceassurance-ubuntu.sh" # go installs tools like go-acc to $HOME/go/bin # ubuntu minion path lacks go export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +export GO111MODULE=on go version cd icsversion/ # install the go coverage tool helper -go get -v github.com/ory/go-acc +go install github.com/ory/go-acc -export GO111MODULE=on go get github.com/stretchr/testify/mock@v1.7.0 go-acc ./... --ignore mocks -- 2.16.6