diff --git a/.circleci/config.yml b/.circleci/config.yml index 244c81929..53669bf72 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,11 +59,16 @@ jobs: working_directory: /go/src/github.com/prometheus/prometheus steps: - checkout + - run: + # Temporary workaround until circleci updates go. + shell: bash + command: | + choco upgrade -y golang - run: shell: bash command: | (cd web/ui && GOOS= GOARCH= go generate -mod=vendor) - go test -mod=vendor -test.v `go list ./...|grep -Exv "(github.com/prometheus/prometheus/discovery.*|github.com/prometheus/prometheus/config|github.com/prometheus/prometheus/web)"` + go test -mod=vendor -vet=off -test.v `go list ./...|grep -Exv "(github.com/prometheus/prometheus/discovery.*|github.com/prometheus/prometheus/config|github.com/prometheus/prometheus/web)"` environment: GOGC: "20" GOOPTS: "-p 2 -mod=vendor"