mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
Install go 1.14 in windows (#7310)
* Update Go in Windows CI Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> * No vet Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
58c445e6ef
commit
4424d2c3a4
|
@ -59,11 +59,16 @@ jobs:
|
||||||
working_directory: /go/src/github.com/prometheus/prometheus
|
working_directory: /go/src/github.com/prometheus/prometheus
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run:
|
||||||
|
# Temporary workaround until circleci updates go.
|
||||||
|
shell: bash
|
||||||
|
command: |
|
||||||
|
choco upgrade -y golang
|
||||||
- run:
|
- run:
|
||||||
shell: bash
|
shell: bash
|
||||||
command: |
|
command: |
|
||||||
(cd web/ui && GOOS= GOARCH= go generate -mod=vendor)
|
(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:
|
environment:
|
||||||
GOGC: "20"
|
GOGC: "20"
|
||||||
GOOPTS: "-p 2 -mod=vendor"
|
GOOPTS: "-p 2 -mod=vendor"
|
||||||
|
|
Loading…
Reference in a new issue