chore: switch to go1.19

This commit is contained in:
Robert Kaussow 2022-08-05 12:55:38 +02:00
parent 142a69d16b
commit a14bc1b5ee
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 9 additions and 9 deletions

View File

@ -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',
],

View File

@ -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: 4f3ed20143c606dfd970a528dfe74ed13e3899de1221b3b68635041bcedff385
hmac: 84521962c13647c129172e114ade6a46c8d4564be36f654fce48b56583f27d65
...

View File

@ -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

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/thegeeklab/drone-template-lib/v2
go 1.18
go 1.19
require (
github.com/Masterminds/sprig/v3 v3.2.2