diff --git a/.golangci.yml b/.golangci.yml index 85b57af..4893111 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -94,7 +94,7 @@ run: linters-settings: gofumpt: extra-rules: true - lang-version: "1.20" + lang-version: "1.21" tagliatelle: case: rules: diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 01952de..ce06663 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -7,16 +7,16 @@ when: steps: deps: - image: docker.io/library/golang:1.20 + image: docker.io/library/golang:1.21 commands: - make deps lint: - image: docker.io/library/golang:1.20 + image: docker.io/library/golang:1.21 commands: - make lint test: - image: docker.io/library/golang:1.20 + image: docker.io/library/golang:1.21 commands: - make test diff --git a/Makefile b/Makefile index 26fa7f9..f8f92bb 100644 --- a/Makefile +++ b/Makefile @@ -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.20.x +XGO_VERSION := go-1.21.x XGO_TARGETS ?= linux/amd64,linux/arm64,linux/arm-6,linux/arm-7 TARGETOS ?= linux diff --git a/go.mod b/go.mod index 88a9a2b..657fdfb 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/thegeeklab/wp-plugin-go -go 1.20 +go 1.21 require ( github.com/Masterminds/sprig/v3 v3.2.3