Don't update vendor when downloading junit report tool
@@ -28,7 +28,7 @@ function runTestsCI() {
if [ -n "$ARTIFACT_DIR" ] && [ -d "$ARTIFACT_DIR" ]; then
JUNIT_LOCATION="$ARTIFACT_DIR"/junit_machine_api_operator.xml
echo "jUnit location: $JUNIT_LOCATION"
- go get -u github.com/jstemmer/go-junit-report
+ go install -mod= github.com/jstemmer/go-junit-report@latest
go test -v ./pkg/... ./cmd/... | tee >(go-junit-report > "$JUNIT_LOCATION")
else
echo "\$ARTIFACT_DIR not set or does not exists, no jUnit will be published"
