Use latest Go versions.

This commit is contained in:
Stanislav Nikitin 2019-12-22 01:26:25 +05:00
parent 5e6aeb0e06
commit f7e1a38e28
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -21,14 +21,14 @@ steps:
- golangci-lint run
- name: test-1.13
image: golang:1.13.1-alpine
image: golang:1.13.5-alpine
environment:
CGO_ENABLED: 0
commands:
- go test -cover -test.v .
- name: test-1.12
image: golang:1.12.10-alpine
image: golang:1.12.14-alpine
environment:
CGO_ENABLED: 0
GO111MODULE: on
@ -38,8 +38,8 @@ steps:
- name: notify-end
when:
status:
- success
- failure
- success
- failure
image: pztrn/discordrone
settings:
webhook_id:
@ -48,7 +48,7 @@ steps:
from_secret: discord_webhook_secret
message: "
{{#success build.status}}
**{{repo.name}}#{{build.number}}@{{commit.sha}}** pipeline completed in {{since build.startedint}}.
**{{repo.name}}#{{build.number}}@{{commit.sha}}** pipeline completed in {{since build.startedint}}.
{{ else }}
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
{{/success}}"
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
{{/success}}"