From bf87fad5839dca7ee3158588e106851af1be91fe Mon Sep 17 00:00:00 2001 From: rahkumar56 Date: Fri, 6 Sep 2024 01:06:31 +0000 Subject: [PATCH] Update GO Version to latest version in all the files --- .drone.yml | 22 +++++++++++----------- go.mod | 6 +++--- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4fbbd29..b09fd00 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,7 +9,7 @@ pool: steps: - name: lint - image: golang:1.22.4 + image: golang:1.23.1 pull: always commands: - go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest @@ -19,7 +19,7 @@ steps: - name: gopath path: "/go" - name: test - image: golang:1.22.4 + image: golang:1.23.1 pull: always commands: - go test -cover ./... @@ -47,7 +47,7 @@ pool: steps: - name: environment - image: golang:1.22.4 + image: golang:1.23.1 pull: always environment: CGO_ENABLED: "0" @@ -55,7 +55,7 @@ steps: - go version - go env - name: build - image: golang:1.22.4 + image: golang:1.23.1 environment: CGO_ENABLED: "0" commands: @@ -91,7 +91,7 @@ pool: steps: - name: environment - image: golang:1.22.4 + image: golang:1.23.1 pull: always environment: CGO_ENABLED: "0" @@ -99,7 +99,7 @@ steps: - go version - go env - name: build - image: golang:1.22.4 + image: golang:1.23.1 environment: CGO_ENABLED: "0" commands: @@ -135,7 +135,7 @@ pool: steps: - name: environment - image: golang:1.22.4 + image: golang:1.23.1 pull: always environment: CGO_ENABLED: "0" @@ -143,7 +143,7 @@ steps: - go version - go env - name: build - image: golang:1.22.4 + image: golang:1.23.1 environment: CGO_ENABLED: "0" commands: @@ -185,7 +185,7 @@ pool: steps: - name: environment - image: golang:1.22.4 + image: golang:1.23.1 pull: always environment: CGO_ENABLED: "0" @@ -193,7 +193,7 @@ steps: - go version - go env - name: build - image: golang:1.22.4 + image: golang:1.23.1 environment: CGO_ENABLED: "0" commands: @@ -264,7 +264,7 @@ pool: steps: - name: build - image: golang:1.22.4 + image: golang:1.23.1 commands: - GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/plugin-linux-amd64 - GOOS=linux GOARCH=arm64 go build -ldflags "-s -w -X main.version=${DRONE_TAG##v}" -a -tags netgo -o release/plugin-linux-arm64 diff --git a/go.mod b/go.mod index 3b2492b..67736a6 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,11 @@ module github.com/drone-plugins/drone-gcs -go 1.22.4 +go 1.23.4 require ( cloud.google.com/go/storage v1.31.0 github.com/pkg/errors v0.9.1 - github.com/urfave/cli v1.22.14 + github.com/urfave/cli v1.23.14 golang.org/x/net v0.12.0 golang.org/x/oauth2 v0.10.0 google.golang.org/api v0.132.0 @@ -13,7 +13,7 @@ require ( require ( cloud.google.com/go v0.110.6 // indirect - cloud.google.com/go/compute v1.22.0 // indirect + cloud.google.com/go/compute v1.23.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect cloud.google.com/go/iam v1.1.1 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect