mirror of
https://github.com/thegeeklab/wp-github-comment.git
synced 2024-11-24 23:10:39 +00:00
chore(deps): update golang docker tag to v1.21 (#2)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
441a0ca4f1
commit
b1dbd5c965
@ -94,4 +94,4 @@ run:
|
|||||||
linters-settings:
|
linters-settings:
|
||||||
gofumpt:
|
gofumpt:
|
||||||
extra-rules: true
|
extra-rules: true
|
||||||
lang-version: "1.20"
|
lang-version: "1.21"
|
||||||
|
@ -7,7 +7,7 @@ when:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: docker.io/techknowlogick/xgo:go-1.20.x
|
image: docker.io/techknowlogick/xgo:go-1.21.x
|
||||||
commands:
|
commands:
|
||||||
- ln -s $(pwd) /source
|
- ln -s $(pwd) /source
|
||||||
- make release
|
- make release
|
||||||
|
@ -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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM --platform=$BUILDPLATFORM golang:1.20@sha256:741d6f9bcab778441efe05c8e4369d4f8ff56c9a635a97d77f55d8b0ec62f907 as build
|
FROM --platform=$BUILDPLATFORM golang:1.21@sha256:b490ae1f0ece153648dd3c5d25be59a63f966b5f9e1311245c947de4506981aa as build
|
||||||
|
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
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/arm-6,linux/arm-7,linux/arm64
|
XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64
|
||||||
|
|
||||||
TARGETOS ?= linux
|
TARGETOS ?= linux
|
||||||
|
Loading…
Reference in New Issue
Block a user