From 5a0f4c391edb61b33143930313a4c5a775ec3f53 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 5 Aug 2022 13:18:59 +0200 Subject: [PATCH] chore: switch to go1.19 (#14) --- .drone.jsonnet | 6 +++--- .drone.yml | 8 ++++---- Makefile | 2 +- go.mod | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 009c8b8..2aa8d78 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -8,7 +8,7 @@ local PipelineTest(deps=[],) = { steps: [ { name: 'deps', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make deps', ], @@ -21,7 +21,7 @@ local PipelineTest(deps=[],) = { }, { name: 'lint', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make lint', ], @@ -34,7 +34,7 @@ local PipelineTest(deps=[],) = { }, { name: 'test', - image: 'golang:1.18', + image: 'golang:1.19', commands: [ 'make test', ], diff --git a/.drone.yml b/.drone.yml index 70a838f..8e0fd14 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: @@ -156,6 +156,6 @@ depends_on: --- kind: signature -hmac: 7eb6d6f1f25e9c59f7094444e273feef5346f6809ea21edc22974f1cb46908e3 +hmac: 9cadf4dc495cf5ea9e54b4964eab9fd7a545d6b419c7cd78bc6846108428a926 ... diff --git a/Makefile b/Makefile index 9551e59..8e764d9 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 e8521d4..6521cfe 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/thegeeklab/drone-plugin-lib/v2 -go 1.18 +go 1.19 require ( github.com/sirupsen/logrus v1.9.0