Use latest Go versions.
This commit is contained in:
parent
5e6aeb0e06
commit
f7e1a38e28
16
.drone.yml
16
.drone.yml
@ -21,14 +21,14 @@ steps:
|
|||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
|
||||||
- name: test-1.13
|
- name: test-1.13
|
||||||
image: golang:1.13.1-alpine
|
image: golang:1.13.5-alpine
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
commands:
|
commands:
|
||||||
- go test -cover -test.v .
|
- go test -cover -test.v .
|
||||||
|
|
||||||
- name: test-1.12
|
- name: test-1.12
|
||||||
image: golang:1.12.10-alpine
|
image: golang:1.12.14-alpine
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
@ -38,8 +38,8 @@ steps:
|
|||||||
- name: notify-end
|
- name: notify-end
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
image: pztrn/discordrone
|
image: pztrn/discordrone
|
||||||
settings:
|
settings:
|
||||||
webhook_id:
|
webhook_id:
|
||||||
@ -48,7 +48,7 @@ steps:
|
|||||||
from_secret: discord_webhook_secret
|
from_secret: discord_webhook_secret
|
||||||
message: "
|
message: "
|
||||||
{{#success build.status}}
|
{{#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 }}
|
{{ else }}
|
||||||
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
|
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
|
||||||
{{/success}}"
|
{{/success}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user