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:
parent
893f41d45b
commit
b9e185044c
@ -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:
|
||||||
|
@ -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
|
||||||
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user