From 2f9f7788f3eccfdffa4f34e0ec128e29404f8f20 Mon Sep 17 00:00:00 2001 From: rahkumar56 <139110109+rahkumar56@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:16:08 +0530 Subject: [PATCH] fix: [CI-13178]: Upgraded go with minor version to 1.22.4 --- .drone.yml | 22 +++++++++++----------- go.mod | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 29fa573..2f4eeec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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/golangci-lint@v1.51.2 @@ -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,7 +46,7 @@ pool: steps: - name: environment - image: golang:1.22 + image: golang:1.22.4 pull: always environment: CGO_ENABLED: "0" @@ -54,7 +54,7 @@ steps: - go version - go env - name: build - image: golang:1.22 + image: golang:1.22.4 environment: CGO_ENABLED: "0" commands: @@ -90,7 +90,7 @@ pool: steps: - name: environment - image: golang:1.22 + image: golang:1.22.4 pull: always environment: CGO_ENABLED: "0" @@ -98,7 +98,7 @@ steps: - go version - go env - name: build - image: golang:1.22 + image: golang:1.22.4 environment: CGO_ENABLED: "0" commands: @@ -134,7 +134,7 @@ pool: steps: - name: environment - image: golang:1.22 + image: golang:1.22.4 pull: always environment: CGO_ENABLED: "0" @@ -142,7 +142,7 @@ steps: - go version - go env - name: build - image: golang:1.22 + image: golang:1.22.4 environment: CGO_ENABLED: "0" commands: @@ -184,7 +184,7 @@ pool: steps: - name: environment - image: golang:1.22 + image: golang:1.22.4 pull: always environment: CGO_ENABLED: "0" @@ -192,7 +192,7 @@ steps: - 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 diff --git a/go.mod b/go.mod index 8b60e34..bfdadb0 100644 --- a/go.mod +++ b/go.mod @@ -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