Skip to content

Commit

Permalink
Merge pull request #72 from drone-plugins/scheduled_go_upgrade2024-03…
Browse files Browse the repository at this point in the history
…-04_08-03-22

Update go Version in all files
  • Loading branch information
HenAmar authored Mar 6, 2024
2 parents e23bedf + 9863ea0 commit 28bbd76
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pool:

steps:
- name: lint
image: golang:1.21
image: golang:1.22
pull: always
commands:
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
Expand All @@ -19,7 +19,7 @@ steps:
- name: gopath
path: "/go"
- name: test
image: golang:1.21
image: golang:1.22
pull: always
commands:
- go test -cover ./...
Expand Down Expand Up @@ -47,15 +47,15 @@ pool:

steps:
- name: environment
image: golang:1.21
image: golang:1.22
pull: always
environment:
CGO_ENABLED: "0"
commands:
- go version
- go env
- name: build
image: golang:1.21
image: golang:1.22
environment:
CGO_ENABLED: "0"
commands:
Expand Down Expand Up @@ -91,15 +91,15 @@ pool:

steps:
- name: environment
image: golang:1.21
image: golang:1.22
pull: always
environment:
CGO_ENABLED: "0"
commands:
- go version
- go env
- name: build
image: golang:1.21
image: golang:1.22
environment:
CGO_ENABLED: "0"
commands:
Expand Down Expand Up @@ -135,15 +135,15 @@ pool:

steps:
- name: environment
image: golang:1.21
image: golang:1.22
pull: always
environment:
CGO_ENABLED: "0"
commands:
- go version
- go env
- name: build
image: golang:1.21
image: golang:1.22
environment:
CGO_ENABLED: "0"
commands:
Expand Down Expand Up @@ -185,15 +185,15 @@ pool:

steps:
- name: environment
image: golang:1.21
image: golang:1.22
pull: always
environment:
CGO_ENABLED: "0"
commands:
- go version
- go env
- name: build
image: golang:1.21
image: golang:1.22
environment:
CGO_ENABLED: "0"
commands:
Expand Down Expand Up @@ -264,7 +264,7 @@ pool:

steps:
- name: build
image: golang:1.21
image: golang:1.22
commands:
- GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/plugin-linux-amd64
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/plugin-linux-arm64
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/drone-plugins/drone-gcs

go 1.21
go 1.22

require (
cloud.google.com/go/storage v1.31.0
Expand Down

0 comments on commit 28bbd76

Please sign in to comment.