0
0
mirror of https://github.com/thegeeklab/wp-plugin-go.git synced 2024-06-02 18:39:40 +02: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:
gofumpt:
extra-rules: true
lang-version: "1.20"
lang-version: "1.21"
tagliatelle:
case:
rules:

View File

@ -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

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
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

2
go.mod
View File

@ -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