From 94c1c606d71f3e27fbdb7cd1c189d4b30d5020e5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 5 Aug 2022 13:19:01 +0200 Subject: [PATCH] chore: switch to go1.19 (#8) --- .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 e141b1c..de21b02 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', ], diff --git a/.drone.yml b/.drone.yml index 7b9e373..880d6c5 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 @@ -177,7 +177,7 @@ platform: steps: - name: build - image: golang:1.18 + image: golang:1.19 commands: - make build @@ -249,7 +249,7 @@ platform: steps: - name: build - image: golang:1.18 + image: golang:1.19 commands: - make build @@ -453,6 +453,6 @@ depends_on: --- kind: signature -hmac: 4e6ae925635b2ffe1bc49fafed7bdc497ff65c09f46c07665745ca4edbfb15f2 +hmac: b2130340f022f3997fac2df75f5b0524aec237d154cfaae80a668b58fbe900a9 ... diff --git a/Makefile b/Makefile index a751f4d..1a5b30a 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 86637b1..c98be44 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/thegeeklab/drone-admin -go 1.18 +go 1.19 require ( github.com/drone/drone-go v1.7.1