0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-22 00:00:41 +00:00

Merge pull request #39 from tphoney/use_correct_arm_runner

(fix) use correct arm runner
This commit is contained in:
TP Honey 2023-09-15 15:03:07 +01:00 committed by GitHub
commit c7539c8910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions

View File

@ -9,7 +9,7 @@ pool:
steps: steps:
- name: lint - name: lint
image: golang:1.19 image: golang:1.20
pull: always pull: always
commands: commands:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
@ -19,7 +19,7 @@ steps:
- name: gopath - name: gopath
path: "/go" path: "/go"
- name: test - name: test
image: golang:1.19 image: golang:1.20
commands: commands:
- go test -cover ./... - go test -cover ./...
volumes: volumes:
@ -46,7 +46,7 @@ pool:
steps: steps:
- name: environment - name: environment
image: golang:1.19 image: golang:1.20
pull: always pull: always
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
@ -54,7 +54,7 @@ steps:
- go version - go version
- go env - go env
- name: build - name: build
image: golang:1.19 image: golang:1.20
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
commands: commands:
@ -80,7 +80,7 @@ trigger:
--- ---
kind: pipeline kind: pipeline
type: docker type: vm
name: linux-arm64 name: linux-arm64
platform: platform:
os: linux os: linux
@ -90,7 +90,7 @@ pool:
steps: steps:
- name: environment - name: environment
image: golang:1.19 image: golang:1.20
pull: always pull: always
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
@ -98,7 +98,7 @@ steps:
- go version - go version
- go env - go env
- name: build - name: build
image: golang:1.19 image: golang:1.20
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
commands: commands:
@ -134,7 +134,7 @@ pool:
steps: steps:
- name: environment - name: environment
image: golang:1.19 image: golang:1.20
pull: always pull: always
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
@ -142,7 +142,7 @@ steps:
- go version - go version
- go env - go env
- name: build - name: build
image: golang:1.19 image: golang:1.20
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
commands: commands:
@ -184,7 +184,7 @@ pool:
steps: steps:
- name: environment - name: environment
image: golang:1.19 image: golang:1.20
pull: always pull: always
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
@ -192,7 +192,7 @@ steps:
- go version - go version
- go env - go env
- name: build - name: build
image: golang:1.19 image: golang:1.20
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"
commands: commands:

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/drone-plugins/drone-gitea-release module github.com/drone-plugins/drone-gitea-release
go 1.19 go 1.20
require ( require (
code.gitea.io/sdk/gitea v0.15.1 code.gitea.io/sdk/gitea v0.15.1