chore: switch to go1.19 (#54)

pull/56/head
Robert Kaussow 7 days ago committed by GitHub
parent 6fd6df12f7
commit a081ffd52e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .drone.jsonnet
  2. 16
      .drone.yml
  3. 2
      Makefile
  4. 2
      go.mod

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

@ -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: 35dab9861c1b83193d1514305527967c25516546cb2af7cf892ec01c2fdf9fa0
hmac: 154b26ea387b4101168b7efe6a0819de9f0a0b528b6e8970db1fe783ee57de9f
...

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

@ -1,6 +1,6 @@
module github.com/drone-plugins/drone-matrix
go 1.18
go 1.19
require (
github.com/joho/godotenv v1.4.0

Loading…
Cancel
Save