1
1
mirror of https://gitea.com/gitea/tea synced 2024-11-23 00:12:05 +01:00
This commit is contained in:
6543 2022-03-28 23:59:48 +02:00
parent 0970b94552
commit 40e606561f
No known key found for this signature in database
GPG Key ID: C99B82E40B027BAE

@ -11,7 +11,7 @@ steps:
pull: always
image: golang:1.17
environment:
GOPROXY: https://goproxy.cn
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
commands:
- make clean
- make vet
@ -32,6 +32,8 @@ steps:
- make unit-test-coverage
settings:
group: test
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
when:
branch:
- master
@ -45,6 +47,8 @@ steps:
- make test
settings:
group: test
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
when:
branch:
- "release/*"
@ -59,6 +63,8 @@ steps:
- make test
settings:
group: test
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
when:
event:
- tag
@ -66,7 +72,7 @@ steps:
- name: static
image: golang:1.17
environment:
GOPROXY: https://goproxy.cn
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
commands:
- export PATH=$PATH:$GOPATH/bin
- make release