Skip to content

Commit

Permalink
Update GO Version to latest version in all the files
Browse files Browse the repository at this point in the history
  • Loading branch information
rahkumar56 committed Mar 4, 2024
1 parent 3bc7f8e commit e5cd68e
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/[email protected]
Expand All @@ -19,7 +19,7 @@ steps:
- name: gopath
path: "/go"
- name: test
image: golang:1.21
image: golang:1.22
commands:
- go test -cover ./...
volumes:
Expand All @@ -46,15 +46,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 @@ -90,15 +90,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 @@ -134,15 +134,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 @@ -184,15 +184,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
pull: always
image: golang:1.21
image: golang:1.22
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.21
go 1.22

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

0 comments on commit e5cd68e

Please sign in to comment.