chore: switch to go1.19 (#37)

pull/38/head
Robert Kaussow 7 days ago committed by GitHub
parent 255fd776c6
commit ea23877b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      .drone.jsonnet
  2. 10
      .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',
],
@ -80,7 +80,7 @@ local PipelineBuildBinaries = {
steps: [
{
name: 'build',
image: 'techknowlogick/xgo:go-1.18.x',
image: 'techknowlogick/xgo:go-1.19.x',
commands: [
'make release',
],

@ -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:
@ -59,7 +59,7 @@ platform:
steps:
- name: build
image: techknowlogick/xgo:go-1.18.x
image: techknowlogick/xgo:go-1.19.x
commands:
- make release
@ -142,6 +142,6 @@ depends_on:
---
kind: signature
hmac: abe0019dfa9264a9509adaaa988e75b60d344269a70b699568bf0615035ecd6a
hmac: 7b57366e668a7949629efd424ba0b8a4483c959dea819dcd0ec7f001763cfcb4
...

@ -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/thegeeklab/url-parser
go 1.18
go 1.19
require (
github.com/sirupsen/logrus v1.9.0

Loading…
Cancel
Save