diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index db8682b..57fe087 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -10,7 +10,7 @@ when: steps: - name: build - image: docker.io/techknowlogick/xgo:go-1.21.x + image: docker.io/techknowlogick/xgo:go-1.22.x commands: - ln -s $(pwd) /source - make release diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 8f1aa89..a282c9a 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -10,11 +10,11 @@ when: steps: - name: lint - image: docker.io/library/golang:1.21 + image: docker.io/library/golang:1.22 commands: - make lint - name: test - image: docker.io/library/golang:1.21 + image: docker.io/library/golang:1.22 commands: - make test diff --git a/Makefile b/Makefile index a8b0dc8..94b8c7f 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest GENERATE ?= -XGO_VERSION := go-1.21.x +XGO_VERSION := go-1.22.x XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64 TARGETOS ?= linux diff --git a/go.mod b/go.mod index 2501006..892d1b0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/thegeeklab/url-parser -go 1.21 +go 1.22 require ( github.com/rs/zerolog v1.32.0