Skip to content

Commit 21fdf93

Browse files
committed
build: update makefile to go v1.13
1 parent 6bd7683 commit 21fdf93

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.drone.yml

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ steps:
1313
- name: cache
1414
path: /go/pkg
1515
commands:
16-
- go mod download
17-
# Fail if git state is dirty after download modules
18-
# - git diff --quiet
1916
- make test
2017
- make build
2118

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ test:
99
go test -v ./...
1010

1111
dockerbuild:
12-
docker run --rm -it -v `pwd`:/workspace -w /workspace golang:1.12 go build -v
12+
docker run --rm -it -v `pwd`:/workspace -w /workspace golang:1.13 go build -v
1313

1414
dockertest:
15-
docker run --rm -it -v `pwd`:/workspace -w /workspace golang:1.12 go test -v ./...
15+
docker run --rm -it -v `pwd`:/workspace -w /workspace golang:1.13 go test -v ./...
1616

1717
release:
18-
docker run --rm -it -v `pwd`:/workspace -w /workspace -e GITHUB_TOKEN golang:1.12 /workspace/scripts/release.sh
18+
docker run --rm -it -v `pwd`:/workspace -w /workspace -e GITHUB_TOKEN golang:1.13 /workspace/scripts/release.sh
1919

2020
snapshot:
21-
docker run --rm -it -v `pwd`:/workspace -w /workspace -e GITHUB_TOKEN golang:1.12 /workspace/scripts/release.sh --snapshot
21+
docker run --rm -it -v `pwd`:/workspace -w /workspace -e GITHUB_TOKEN golang:1.13 /workspace/scripts/release.sh --snapshot
2222

2323
.PHONY: build test changelog targets $(TARGETS)

0 commit comments

Comments
 (0)