mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-24 13:00:40 +00:00
(fix) use correct arm runner
This commit is contained in:
parent
bd912f262f
commit
420e9f7f28
22
.drone.yml
22
.drone.yml
@ -9,7 +9,7 @@ pool:
|
||||
|
||||
steps:
|
||||
- name: lint
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
pull: always
|
||||
commands:
|
||||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
@ -19,7 +19,7 @@ steps:
|
||||
- name: gopath
|
||||
path: "/go"
|
||||
- name: test
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
commands:
|
||||
- go test -cover ./...
|
||||
volumes:
|
||||
@ -46,7 +46,7 @@ pool:
|
||||
|
||||
steps:
|
||||
- name: environment
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
pull: always
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
@ -54,7 +54,7 @@ steps:
|
||||
- go version
|
||||
- go env
|
||||
- name: build
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
commands:
|
||||
@ -80,7 +80,7 @@ trigger:
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
type: vm
|
||||
name: linux-arm64
|
||||
platform:
|
||||
os: linux
|
||||
@ -90,7 +90,7 @@ pool:
|
||||
|
||||
steps:
|
||||
- name: environment
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
pull: always
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
@ -98,7 +98,7 @@ steps:
|
||||
- go version
|
||||
- go env
|
||||
- name: build
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
commands:
|
||||
@ -134,7 +134,7 @@ pool:
|
||||
|
||||
steps:
|
||||
- name: environment
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
pull: always
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
@ -142,7 +142,7 @@ steps:
|
||||
- go version
|
||||
- go env
|
||||
- name: build
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
commands:
|
||||
@ -184,7 +184,7 @@ pool:
|
||||
|
||||
steps:
|
||||
- name: environment
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
pull: always
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
@ -192,7 +192,7 @@ steps:
|
||||
- go version
|
||||
- go env
|
||||
- name: build
|
||||
image: golang:1.19
|
||||
image: golang:1.20
|
||||
environment:
|
||||
CGO_ENABLED: "0"
|
||||
commands:
|
||||
|
Loading…
Reference in New Issue
Block a user