Skip to content

Commit

Permalink
switch to go 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Dec 6, 2020
1 parent 0c73f22 commit 35f4a2d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local PipelineTest = {
steps: [
{
name: 'staticcheck',
image: 'golang:1.14',
image: 'golang:1.15',
commands: [
'go run honnef.co/go/tools/cmd/staticcheck ./...',
],
Expand All @@ -22,7 +22,7 @@ local PipelineTest = {
},
{
name: 'lint',
image: 'golang:1.14',
image: 'golang:1.15',
commands: [
'go run golang.org/x/lint/golint -set_exit_status ./...',
],
Expand All @@ -35,7 +35,7 @@ local PipelineTest = {
},
{
name: 'vet',
image: 'golang:1.14',
image: 'golang:1.15',
commands: [
'go vet ./...',
],
Expand All @@ -48,7 +48,7 @@ local PipelineTest = {
},
{
name: 'test',
image: 'golang:1.14',
image: 'golang:1.15',
commands: [
'go test -race -coverprofile=coverage.txt -covermode=atomic ./...',
],
Expand Down Expand Up @@ -95,7 +95,7 @@ local PipelineBuildBinaries = {
steps: [
{
name: 'build',
image: 'techknowlogick/xgo:go-1.14.x',
image: 'techknowlogick/xgo:go-1.15.x',
commands: [
'[ -z "${DRONE_TAG}" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}',
'mkdir -p release/',
Expand Down
12 changes: 6 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ platform:

steps:
- name: staticcheck
image: golang:1.14
image: golang:1.15
commands:
- go run honnef.co/go/tools/cmd/staticcheck ./...
volumes:
- name: gopath
path: /go

- name: lint
image: golang:1.14
image: golang:1.15
commands:
- go run golang.org/x/lint/golint -set_exit_status ./...
volumes:
- name: gopath
path: /go

- name: vet
image: golang:1.14
image: golang:1.15
commands:
- go vet ./...
volumes:
- name: gopath
path: /go

- name: test
image: golang:1.14
image: golang:1.15
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
volumes:
Expand Down Expand Up @@ -70,7 +70,7 @@ platform:

steps:
- name: build
image: techknowlogick/xgo:go-1.14.x
image: techknowlogick/xgo:go-1.15.x
commands:
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
- mkdir -p release/
Expand Down Expand Up @@ -162,6 +162,6 @@ depends_on:

---
kind: signature
hmac: 4e6b6ec60c6a01f20ded56de08f051f1e7baaf74dda8c649d839d5a8053a999e
hmac: 5491f814e4edd00e12047cd91988765ed1af400a4a30ab4401ca2015096ab4f4

...
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- INTERNAL
- refactor project structure
- switch to go 1.15

0 comments on commit 35f4a2d

Please sign in to comment.