chore(go): update to go 1.14 (#475)

* chore(go): update to go 1.14

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2020-02-27 13:17:20 +08:00
committed by GitHub
parent 52622558bd
commit cde026d9f9
3 changed files with 26 additions and 26 deletions

View File

@@ -9,7 +9,7 @@
steps: [
{
name: 'vet',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
commands: [
'make vet',
@@ -23,7 +23,7 @@
},
{
name: 'lint',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
commands: [
'make lint',
@@ -37,7 +37,7 @@
},
{
name: 'misspell',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
commands: [
'make misspell-check',
@@ -51,7 +51,7 @@
},
{
name: 'embedmd',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
commands: [
'make embedmd',
@@ -65,7 +65,7 @@
},
{
name: 'test',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
environment: {
ANDROID_API_KEY: { 'from_secret': 'android_api_key' },
@@ -114,7 +114,7 @@
steps: [
{
name: 'build-push',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
environment: {
CGO_ENABLED: '0',
@@ -130,7 +130,7 @@
},
// {
// name: 'build-push-lambda',
// image: 'golang:1.13',
// image: 'golang:1.14',
// pull: 'always',
// environment: {
// CGO_ENABLED: '0',
@@ -146,7 +146,7 @@
// },
{
name: 'build-tag',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
environment: {
CGO_ENABLED: '0',
@@ -160,7 +160,7 @@
},
{
name: 'executable',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
commands: [
'./release/' + os + '/' + arch + '/' + name + ' --help',
@@ -225,7 +225,7 @@
steps: [
{
name: 'build-all-binary',
image: 'golang:1.13',
image: 'golang:1.14',
pull: 'always',
commands: [
'make release'