From 41d88954c64ac8612d65195eaa0ba5d330936aaa Mon Sep 17 00:00:00 2001 From: Jacob Blain Christen Date: Tue, 24 Sep 2024 11:27:28 -0700 Subject: [PATCH] bump: golang >= 1.23.1 (#328) Signed-off-by: Jacob Blain Christen --- .github/workflows/release.yaml | 3 ++- .github/workflows/tests.yaml | 4 +++- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e2486c12..00b6869f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,8 @@ jobs: - name: Set Up Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version-file: go.mod + check-latest: true - name: Run Go Releaser uses: goreleaser/goreleaser-action@v6 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 0fb60c8a..dd486d11 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -28,7 +28,9 @@ jobs: - name: Set Up Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version-file: go.mod + check-latest: true + - name: Install Go Releaser uses: goreleaser/goreleaser-action@v6 diff --git a/Dockerfile b/Dockerfile index 93a9ebf5..ae3ba057 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # builder stage -FROM registry.suse.com/bci/golang:1.21 AS builder +FROM registry.suse.com/bci/golang:1.23 AS builder RUN zypper --non-interactive install make bash wget ca-certificates diff --git a/go.mod b/go.mod index abdaa672..1e300c63 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module hauler.dev/go/hauler -go 1.21 +go 1.23 require ( github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be