mirror of
https://gitea.com/gitea/log
synced 2025-10-06 00:43:44 +02:00
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>
17 lines
372 B
YAML
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 |