1
0
mirror of https://gitea.com/gitea/log synced 2025-10-06 00:43:44 +02:00
Files
log/.drone.yml
Andrew Thornton ffe67e7e71 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>
2020-04-08 14:31:12 +00:00

17 lines
372 B
YAML

kind: pipeline
name: default
steps:
- name: test
image: golang:1.13
commands:
- 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
- push