mirror of
https://github.com/thegeeklab/wp-plugin-go.git
synced 2024-11-21 14:10:39 +00:00
bump golang to v1.21 (#17)
This commit is contained in:
parent
893f41d45b
commit
b9e185044c
@ -94,7 +94,7 @@ run:
|
||||
linters-settings:
|
||||
gofumpt:
|
||||
extra-rules: true
|
||||
lang-version: "1.20"
|
||||
lang-version: "1.21"
|
||||
tagliatelle:
|
||||
case:
|
||||
rules:
|
||||
|
@ -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
|
||||
|
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user