Fix sonar job after Go version uplift

Issue-ID: NONRTRIC-812
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: Ifaa39788e9837457d296fec67f29de6037aa5bad
diff --git a/smoversion/build-ransliceassurance-ubuntu.sh b/smoversion/build-ransliceassurance-ubuntu.sh
index faf3efc..ca04a80 100755
--- a/smoversion/build-ransliceassurance-ubuntu.sh
+++ b/smoversion/build-ransliceassurance-ubuntu.sh
@@ -22,13 +22,13 @@
 # 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 smoversion/
 
 # 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