Skip to content

Commit

Permalink
Merge pull request #130 from drone-plugins/ci-9254
Browse files Browse the repository at this point in the history
[fix]: [ci-9254]: go version upgrade to 1.21
  • Loading branch information
rajatharanganath authored Sep 14, 2023
2 parents ab94fa2 + 6123f20 commit bf7e195
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.20
image: golang:1.21
pull: always
commands:
- go install github.com/golangci/golangci-lint/cmd/[email protected]
Expand All @@ -19,7 +19,7 @@ steps:
- name: gopath
path: "/go"
- name: test
image: golang:1.20
image: golang:1.21
commands:
- go test -cover ./...
volumes:
Expand All @@ -46,15 +46,15 @@ pool:

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

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

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

steps:
- name: environment
image: golang:1.20
image: golang:1.21
pull: always
environment:
CGO_ENABLED: "0"
commands:
- go version
- go env
- name: build
image: golang:1.20
image: golang:1.21
environment:
CGO_ENABLED: "0"
commands:
Expand Down Expand Up @@ -264,7 +264,7 @@ pool:
steps:
- name: build
pull: always
image: golang:1.20
image: golang:1.21
commands:
- GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-linux-amd64
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-s3-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-s3

go 1.20
go 1.21

require (
github.com/aws/aws-sdk-go v1.44.156
Expand Down

0 comments on commit bf7e195

Please sign in to comment.