[CI] use golang v1.16 (#339)

Reviewed-on: https://gitea.com/gitea/tea/pulls/339
Reviewed-by: Andrew Thornton <art27@cantab.net>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-committed-by: 6543 <6543@obermui.de>
This commit is contained in:
6543 2021-03-05 20:37:50 +08:00 committed by Lunny Xiao
parent d474883e90
commit 786c713ff5

View File

@ -9,7 +9,7 @@ platform:
steps: steps:
- name: build - name: build
pull: always pull: always
image: golang:1.15 image: golang:1.16
environment: environment:
GOPROXY: https://goproxy.cn GOPROXY: https://goproxy.cn
commands: commands:
@ -27,7 +27,7 @@ steps:
- pull_request - pull_request
- name: unit-test - name: unit-test
image: golang:1.15 image: golang:1.16
commands: commands:
- make unit-test-coverage - make unit-test-coverage
settings: settings:
@ -40,7 +40,7 @@ steps:
- pull_request - pull_request
- name: release-test - name: release-test
image: golang:1.15 image: golang:1.16
commands: commands:
- make test - make test
settings: settings:
@ -54,7 +54,7 @@ steps:
- name: tag-test - name: tag-test
pull: always pull: always
image: golang:1.15 image: golang:1.16
commands: commands:
- make test - make test
settings: settings:
@ -64,7 +64,7 @@ steps:
- tag - tag
- name: static - name: static
image: golang:1.15 image: golang:1.16
environment: environment:
GOPROXY: https://goproxy.cn GOPROXY: https://goproxy.cn
commands: commands: