mirror of
https://github.com/thegeeklab/wp-docker-buildx.git
synced 2024-11-12 16:20:41 +00:00
chore: switch to go1.19 (#121)
This commit is contained in:
parent
069e4aed70
commit
d6f552cf6d
@ -8,7 +8,7 @@ local PipelineTest = {
|
||||
steps: [
|
||||
{
|
||||
name: 'deps',
|
||||
image: 'golang:1.18',
|
||||
image: 'golang:1.19',
|
||||
commands: [
|
||||
'make deps',
|
||||
],
|
||||
@ -21,7 +21,7 @@ local PipelineTest = {
|
||||
},
|
||||
{
|
||||
name: 'lint',
|
||||
image: 'golang:1.18',
|
||||
image: 'golang:1.19',
|
||||
commands: [
|
||||
'make lint',
|
||||
],
|
||||
@ -34,7 +34,7 @@ local PipelineTest = {
|
||||
},
|
||||
{
|
||||
name: 'test',
|
||||
image: 'golang:1.18',
|
||||
image: 'golang:1.19',
|
||||
commands: [
|
||||
'make test',
|
||||
],
|
||||
@ -68,7 +68,7 @@ local PipelineBuildBinaries = {
|
||||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'techknowlogick/xgo:go-1.18.x',
|
||||
image: 'techknowlogick/xgo:go-1.19.x',
|
||||
commands: [
|
||||
'make release',
|
||||
],
|
||||
@ -133,7 +133,7 @@ local PipelineBuildContainer(arch='amd64') = {
|
||||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'golang:1.18',
|
||||
image: 'golang:1.19',
|
||||
commands: [
|
||||
'make build',
|
||||
],
|
||||
|
14
.drone.yml
14
.drone.yml
@ -8,7 +8,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: deps
|
||||
image: golang:1.18
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- make deps
|
||||
volumes:
|
||||
@ -16,7 +16,7 @@ steps:
|
||||
path: /go
|
||||
|
||||
- name: lint
|
||||
image: golang:1.18
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- make lint
|
||||
volumes:
|
||||
@ -24,7 +24,7 @@ steps:
|
||||
path: /go
|
||||
|
||||
- name: test
|
||||
image: golang:1.18
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- make test
|
||||
volumes:
|
||||
@ -51,7 +51,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: techknowlogick/xgo:go-1.18.x
|
||||
image: techknowlogick/xgo:go-1.19.x
|
||||
commands:
|
||||
- make release
|
||||
|
||||
@ -105,7 +105,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.18
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- make build
|
||||
|
||||
@ -177,7 +177,7 @@ platform:
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: golang:1.18
|
||||
image: golang:1.19
|
||||
commands:
|
||||
- make build
|
||||
|
||||
@ -380,6 +380,6 @@ depends_on:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 42ea59f6cce008de2797e676cc2c4e2fa5abb49f280ede4e600f4d821e0f0ea9
|
||||
hmac: b3fcec8e8669cb90bbf5cf5e17db99f2b3b813f117a69f43045cefbb59c5c862
|
||||
|
||||
...
|
||||
|
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.18.x
|
||||
XGO_VERSION := go-1.19.x
|
||||
XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64
|
||||
|
||||
TAGS ?= netgo
|
||||
|
Loading…
Reference in New Issue
Block a user