Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix]: [ci-9254]: go version upgrade to 1.21 #130

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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