Skip to content

Commit

Permalink
Merge pull request drone-plugins#338 from tphoney/bump-go-1.13
Browse files Browse the repository at this point in the history
(maint) bump git to 1.13 for build and test
  • Loading branch information
TP Honey authored and wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf committed Oct 16, 2021
1 parent 16a7f64 commit 9a26c45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ platform:
steps:
- name: vet
pull: always
image: golang:1.11
image: golang:1.13
commands:
- go vet ./...
environment:
Expand All @@ -20,7 +20,7 @@ steps:

- name: test
pull: always
image: golang:1.11
image: golang:1.13
commands:
- go test -cover ./...
environment:
Expand Down Expand Up @@ -52,7 +52,7 @@ platform:
steps:
- name: build-push
pull: always
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_COMMIT_SHA:0:8}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -65,7 +65,7 @@ steps:

- name: build-tag
pull: always
image: golang:1.11
image: golang:1.13
commands:
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
environment:
Expand All @@ -77,7 +77,7 @@ steps:

- name: executable
pull: always
image: golang:1.11
image: golang:1.13
commands:
- ./release/linux/amd64/drone-docker --help

Expand Down
2 changes: 1 addition & 1 deletion pipeline.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local test_pipeline_name = 'testing';
local windows(os) = os == 'windows';

local golang_image(os, version) =
'golang:' + '1.11' + if windows(os) then '-windowsservercore-' + version else '';
'golang:' + '1.13' + if windows(os) then '-windowsservercore-' + version else '';

{
test(os='linux', arch='amd64', version='')::
Expand Down

0 comments on commit 9a26c45

Please sign in to comment.