From 836e382bdc6aa3df6a9c10f54ae681721f3bc68f Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 5 Aug 2022 13:18:54 +0200 Subject: [PATCH] chore: switch to go1.19 (#33) --- .drone.jsonnet | 10 +++++----- .drone.yml | 16 ++++++++-------- Makefile | 2 +- go.mod | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 1430bb4..a3c9e9c 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -8,7 +8,7 @@ local PipelineTest = { steps: [ { name: 'deps', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make deps', ], @@ -21,7 +21,7 @@ local PipelineTest = { }, { name: 'lint', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make lint', ], @@ -34,7 +34,7 @@ local PipelineTest = { }, { name: 'test', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make test', ], @@ -68,7 +68,7 @@ local PipelineBuildBinaries = { steps: [ { name: 'build', - image: 'techknowlogick/xgo:go-1.18.x', + image: 'techknowlogick/xgo:go-1.19.x', commands: [ 'make release', ], @@ -133,7 +133,7 @@ local PipelineBuildContainer(arch='amd64') = { steps: [ { name: 'build', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make build', 'ls -l dist/drone-s3-sync', diff --git a/.drone.yml b/.drone.yml index ae236dd..e4b7788 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: deps - image: golang:1.18 + image: golang:1.19 commands: - make deps volumes: @@ -16,7 +16,7 @@ steps: path: /go - name: lint - image: golang:1.18 + image: golang:1.19 commands: - make lint volumes: @@ -24,7 +24,7 @@ steps: path: /go - name: test - image: golang:1.18 + image: golang:1.19 commands: - make test volumes: @@ -51,7 +51,7 @@ platform: steps: - name: build - image: techknowlogick/xgo:go-1.18.x + image: techknowlogick/xgo:go-1.19.x commands: - make release @@ -105,7 +105,7 @@ platform: steps: - name: build - image: golang:1.18 + image: golang:1.19 commands: - make build - ls -l dist/drone-s3-sync @@ -178,7 +178,7 @@ platform: steps: - name: build - image: golang:1.18 + image: golang:1.19 commands: - make build - ls -l dist/drone-s3-sync @@ -251,7 +251,7 @@ platform: steps: - name: build - image: golang:1.18 + image: golang:1.19 commands: - make build - ls -l dist/drone-s3-sync @@ -456,6 +456,6 @@ depends_on: --- kind: signature -hmac: aaa9c55bd0b2e833dc58eb2aa95b36471261d6e8ddfa6165a0fe738ba73373e3 +hmac: db6f6aaea94d93b9e62552f392651928df69f8ea87ca5058e06738dd8a791cd1 ... diff --git a/Makefile b/Makefile index 7ddc175..dd87515 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(G XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest GENERATE ?= -XGO_VERSION := go-1.18.x +XGO_VERSION := go-1.19.x XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64 TAGS ?= netgo diff --git a/go.mod b/go.mod index b10fd8b..1a95838 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/thegeeklab/drone-s3-sync -go 1.18 +go 1.19 require ( github.com/aws/aws-sdk-go v1.44.61