0
0
mirror of https://github.com/thegeeklab/wp-plugin-go.git synced 2024-11-22 00:20:38 +00:00

bump golang to v1.21 (#17)

This commit is contained in:
Robert Kaussow 2023-08-19 15:17:54 +02:00 committed by GitHub
parent 893f41d45b
commit b9e185044c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -94,7 +94,7 @@ run:
linters-settings: linters-settings:
gofumpt: gofumpt:
extra-rules: true extra-rules: true
lang-version: "1.20" lang-version: "1.21"
tagliatelle: tagliatelle:
case: case:
rules: rules:

View File

@ -7,16 +7,16 @@ when:
steps: steps:
deps: deps:
image: docker.io/library/golang:1.20 image: docker.io/library/golang:1.21
commands: commands:
- make deps - make deps
lint: lint:
image: docker.io/library/golang:1.20 image: docker.io/library/golang:1.21
commands: commands:
- make lint - make lint
test: test:
image: docker.io/library/golang:1.20 image: docker.io/library/golang:1.21
commands: commands:
- make test - make test

View File

@ -19,7 +19,7 @@ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(G
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
GENERATE ?= 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 XGO_TARGETS ?= linux/amd64,linux/arm64,linux/arm-6,linux/arm-7
TARGETOS ?= linux TARGETOS ?= linux

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/thegeeklab/wp-plugin-go module github.com/thegeeklab/wp-plugin-go
go 1.20 go 1.21
require ( require (
github.com/Masterminds/sprig/v3 v3.2.3 github.com/Masterminds/sprig/v3 v3.2.3