Fix sonar job after Go version uplift 57/9357/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Fri, 21 Oct 2022 14:03:21 +0000 (16:03 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Fri, 21 Oct 2022 14:03:24 +0000 (16:03 +0200)
Issue-ID: NONRTRIC-812
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I850a5cf1a7bfe52050a098f726d8480964a32034

icsversion/build-ransliceassurance-ubuntu.sh

index 8b57494..63f317b 100755 (executable)
@@ -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