From ffe67e7e71f13c22bd5eb3e6c0583bc66598a9f9 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Wed, 8 Apr 2020 14:31:12 +0000 Subject: [PATCH] Add GOPROXY and GOSUMDB (#19) Placate the CCP Signed-off-by: Andrew Thornton Reviewed-on: https://gitea.com/gitea/log/pulls/19 Reviewed-by: 6543 <6543@noreply.gitea.io> Reviewed-by: Lunny Xiao --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index dc6c65c..8d6a649 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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