diff --git a/.drone.yml b/.drone.yml index ae48aee..5d8416c 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@v1.51.2 @@ -19,7 +19,7 @@ steps: - name: gopath path: "/go" - name: test - image: golang:1.20 + image: golang:1.21 commands: - go test -cover ./... volumes: @@ -46,7 +46,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -54,7 +54,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -90,7 +90,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -98,7 +98,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -134,7 +134,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -142,7 +142,7 @@ steps: - go version - go env - name: build - image: golang:1.20 + image: golang:1.21 environment: CGO_ENABLED: "0" commands: @@ -184,7 +184,7 @@ pool: steps: - name: environment - image: golang:1.20 + image: golang:1.21 pull: always environment: CGO_ENABLED: "0" @@ -192,7 +192,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 pull: always - image: golang:1.20 + image: golang:1.21 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 0525371..9b309d6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/drone-plugins/drone-s3 -go 1.20 +go 1.21 require ( github.com/aws/aws-sdk-go v1.44.156