-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from drone-plugins/CI-13178_go_upgrade_minor
fix: [CI-13178]: Upgraded go with minor version to 1.22.4
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ pool: | |
|
||
steps: | ||
- name: lint | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
pull: always | ||
commands: | ||
- go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
|
@@ -19,7 +19,7 @@ steps: | |
- name: gopath | ||
path: "/go" | ||
- name: test | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
commands: | ||
- go test -cover ./... | ||
volumes: | ||
|
@@ -46,15 +46,15 @@ pool: | |
|
||
steps: | ||
- name: environment | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
pull: always | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
- go version | ||
- go env | ||
- name: build | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
|
@@ -90,15 +90,15 @@ pool: | |
|
||
steps: | ||
- name: environment | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
pull: always | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
- go version | ||
- go env | ||
- name: build | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
|
@@ -134,15 +134,15 @@ pool: | |
|
||
steps: | ||
- name: environment | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
pull: always | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
- go version | ||
- go env | ||
- name: build | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
|
@@ -184,15 +184,15 @@ pool: | |
|
||
steps: | ||
- name: environment | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
pull: always | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
- go version | ||
- go env | ||
- name: build | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
environment: | ||
CGO_ENABLED: "0" | ||
commands: | ||
|
@@ -264,7 +264,7 @@ pool: | |
steps: | ||
- name: build | ||
pull: always | ||
image: golang:1.22 | ||
image: golang:1.22.4 | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/drone-plugins/drone-s3 | ||
|
||
go 1.22 | ||
go 1.22.4 | ||
|
||
require ( | ||
github.com/aws/aws-sdk-go v1.44.156 | ||
|