From e0135d2bc3459b8fd5453d8657082517fcfe4b38 Mon Sep 17 00:00:00 2001 From: Alex Shorsher Date: Mon, 5 Aug 2024 21:58:51 -0400 Subject: [PATCH] update config version and use go1.21 in builds Signed-off-by: Alex Shorsher --- .github/workflows/release.yml | 2 +- .goreleaser.yml | 2 ++ Dockerfile | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9f4643..bd55d41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.21" - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index 0f208bb..99669a3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,6 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +version: 2 + before: hooks: - go mod tidy diff --git a/Dockerfile b/Dockerfile index ed2fbef..754edb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG BUILD_VERSION=canary -FROM golang:1.17-alpine3.15 as builder +FROM golang:1.21.12-alpine as builder RUN apk add make gcc build-base curl git WORKDIR /firefly-perf-cli