diff --git a/scripts/circle-test-backend.sh b/scripts/circle-test-backend.sh index 147603276c0..d38a5e26005 100755 --- a/scripts/circle-test-backend.sh +++ b/scripts/circle-test-backend.sh @@ -3,6 +3,9 @@ # shellcheck source=./scripts/helpers/exit-if-fail.sh source "$(dirname "$0")/helpers/exit-if-fail.sh" +# use vendor folder for packages +export GOFLAGS=-mod=vendor + echo "building backend with install to cache pkgs" exit_if_fail time go install ./pkg/cmd/grafana-server