Skip to content

Commit

Permalink
chore: switch to go1.19 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Aug 5, 2022
1 parent 255fd77 commit ea23877
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local PipelineTest = {
steps: [
{
name: 'deps',
image: 'golang:1.18',
image: 'golang:1.19',
commands: [
'make deps',
],
Expand All @@ -21,7 +21,7 @@ local PipelineTest = {
},
{
name: 'lint',
image: 'golang:1.18',
image: 'golang:1.19',
commands: [
'make lint',
],
Expand All @@ -34,7 +34,7 @@ local PipelineTest = {
},
{
name: 'test',
image: 'golang:1.18',
image: 'golang:1.19',
commands: [
'make test',
],
Expand Down Expand Up @@ -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',
],
Expand Down
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ platform:

steps:
- name: deps
image: golang:1.18
image: golang:1.19
commands:
- make deps
volumes:
- name: godeps
path: /go

- name: lint
image: golang:1.18
image: golang:1.19
commands:
- make lint
volumes:
- name: godeps
path: /go

- name: test
image: golang:1.18
image: golang:1.19
commands:
- make test
volumes:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -142,6 +142,6 @@ depends_on:

---
kind: signature
hmac: abe0019dfa9264a9509adaaa988e75b60d344269a70b699568bf0615035ecd6a
hmac: 7b57366e668a7949629efd424ba0b8a4483c959dea819dcd0ec7f001763cfcb4

...
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/thegeeklab/url-parser

go 1.18
go 1.19

require (
github.com/sirupsen/logrus v1.9.0
Expand Down

0 comments on commit ea23877

Please sign in to comment.