diff --git a/.drone.yml b/.drone.yml index 3e54345..68d9fb2 100644 --- a/.drone.yml +++ b/.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: diff --git a/go.mod b/go.mod index d783539..3931053 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/drone-plugins/drone-gitea-release -go 1.19 +go 1.20 require ( code.gitea.io/sdk/gitea v0.15.1