Add GOPROXY and GOSUMDB #19
|
@ -8,6 +8,9 @@ steps:
|
|||
- go get -t -d -v ./...
|
||||
- go build -v
|
||||
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
|
||||
environment:
|
||||
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
|
||||
GOSUMDB: sum.golang.org
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
|
|
Reference in New Issue
Block a user