1
0
mirror of https://gitea.com/gitea/log synced 2025-10-05 16:32:46 +02:00

Add GOPROXY and GOSUMDB (#19)

Placate the CCP

Signed-off-by: Andrew Thornton <art27@cantab.net>

Reviewed-on: https://gitea.com/gitea/log/pulls/19
Reviewed-by: 6543 <6543@noreply.gitea.io>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
Andrew Thornton
2020-04-08 14:31:12 +00:00
committed by Lunny Xiao
parent f316138381
commit ffe67e7e71

View File

@@ -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