chore: upgrade to go1.16

This commit is contained in:
Bo-Yi Wu
2021-04-03 06:39:46 +08:00
parent 6dbb4b1735
commit d6c3514a66
2 changed files with 37 additions and 37 deletions

View File

@ -9,7 +9,7 @@
steps: [
{
name: 'vet',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
commands: [
'make vet',
@ -23,7 +23,7 @@
},
{
name: 'lint',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
commands: [
'make lint',
@ -37,7 +37,7 @@
},
{
name: 'misspell',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
commands: [
'make misspell-check',
@ -51,7 +51,7 @@
},
{
name: 'test',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
environment: {
TELEGRAM_TOKEN: { 'from_secret': 'telegram_token' },
@ -95,7 +95,7 @@
steps: [
{
name: 'build-push',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
environment: {
CGO_ENABLED: '0',
@ -111,7 +111,7 @@
},
{
name: 'build-tag',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
environment: {
CGO_ENABLED: '0',
@ -125,7 +125,7 @@
},
{
name: 'executable',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
commands: [
'./release/' + os + '/' + arch + '/' + name + ' --help',
@ -190,7 +190,7 @@
steps: [
{
name: 'build-all-binary',
image: 'golang:1.15',
image: 'golang:1.16',
pull: 'always',
commands: [
'make release'