From bfc0fd2f86c92c680a944148cea98bbab3ed648c Mon Sep 17 00:00:00 2001 From: rahulkuma56 Date: Fri, 8 Dec 2023 09:11:35 +0000 Subject: [PATCH] Update Go version to 1.21 --- drone.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drone.yml b/drone.yml index ac12863..b565ab3 100644 --- a/drone.yml +++ b/drone.yml @@ -9,7 +9,7 @@ pool: steps: - name: lint - image: golang:1.20 + image: golang:1.21 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.20 + image: golang:1.21 pull: always commands: - go test -cover ./... @@ -47,7 +47,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -55,7 +55,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -91,7 +91,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -99,7 +99,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -135,7 +135,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -143,7 +143,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -185,7 +185,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -193,7 +193,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -264,7 +264,7 @@ pool: steps: - name: build - image: golang:1.20 + image: golang:1.21 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