ci: ensure disabled CGO; simplify cache path
This commit is contained in:
parent
f51493ad73
commit
61a20848f3
|
@ -14,13 +14,14 @@ services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
|
||||||
script: go test -v ./...
|
script: go test -v ./...
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/gopath/pkg/mod
|
- $GOPATH/pkg/mod
|
||||||
|
|
||||||
install: true # skip, handled by "cache" stage
|
install: true # skip, handled by "cache" stage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue