From e5cd68e4ec791223ecff393ef0406179bbf1c137 Mon Sep 17 00:00:00 2001 From: rahkumar56 Date: Mon, 4 Mar 2024 08:05:11 +0000 Subject: [PATCH] Update GO Version to latest version in all the files --- .drone.yml | 22 +++++++++++----------- go.mod | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5d8416c..29fa573 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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@v1.51.2 @@ -19,7 +19,7 @@ steps: - name: gopath path: "/go" - name: test - image: golang:1.21 + image: golang:1.22 commands: - go test -cover ./... volumes: @@ -46,7 +46,7 @@ pool: steps: - name: environment - image: golang:1.21 + image: golang:1.22 pull: always environment: CGO_ENABLED: "0" @@ -54,7 +54,7 @@ steps: - go version - go env - name: build - image: golang:1.21 + image: golang:1.22 environment: CGO_ENABLED: "0" commands: @@ -90,7 +90,7 @@ pool: steps: - name: environment - image: golang:1.21 + image: golang:1.22 pull: always environment: CGO_ENABLED: "0" @@ -98,7 +98,7 @@ steps: - go version - go env - name: build - image: golang:1.21 + image: golang:1.22 environment: CGO_ENABLED: "0" commands: @@ -134,7 +134,7 @@ pool: steps: - name: environment - image: golang:1.21 + image: golang:1.22 pull: always environment: CGO_ENABLED: "0" @@ -142,7 +142,7 @@ steps: - go version - go env - name: build - image: golang:1.21 + image: golang:1.22 environment: CGO_ENABLED: "0" commands: @@ -184,7 +184,7 @@ pool: steps: - name: environment - image: golang:1.21 + image: golang:1.22 pull: always environment: CGO_ENABLED: "0" @@ -192,7 +192,7 @@ steps: - go version - go env - name: build - image: golang:1.21 + image: golang:1.22 environment: CGO_ENABLED: "0" commands: @@ -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 diff --git a/go.mod b/go.mod index c47aa27..facaa59 100644 --- a/go.mod +++ b/go.mod @@ -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