From 885a701e344da1c5282c573ee38abc904459d6a8 Mon Sep 17 00:00:00 2001 From: Robbie Mackay Date: Mon, 28 Sep 2026 11:21:05 +1300 Subject: [PATCH] chore: update Go build and release toolchains to 1.27 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- Dockerfile | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e59d28..7dc98cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: install-go-modules: strategy: matrix: - go: ["1.25.x", "1.24.x", "1.23.x"] + go: ["1.27.x", "1.25.x", "1.24.x", "1.23.x"] runs-on: ubuntu-latest @@ -28,7 +28,7 @@ jobs: test: strategy: matrix: - go: ["1.25.x", "1.24.x", "1.23.x"] + go: ["1.27.x", "1.25.x", "1.24.x", "1.23.x"] runs-on: ubuntu-latest steps: @@ -62,7 +62,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.25.x" + go-version: "1.27.x" - name: Run coverage run: make coverage @@ -76,7 +76,7 @@ jobs: dist: strategy: matrix: - go: ["1.25.x", "1.24.x", "1.23.x"] + go: ["1.27.x", "1.25.x", "1.24.x", "1.23.x"] runs-on: ubuntu-latest needs: test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6bfcd6..9084171 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: 1.25.x + go-version: 1.27.x - name: Install nfpm, rpmbuild run: sudo make -f Makefile.tools nfpm-debian rpmbuild-debian @@ -65,7 +65,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: 1.25.x + go-version: 1.27.x - name: Set up QEMU uses: docker/setup-qemu-action@v2 diff --git a/Dockerfile b/Dockerfile index b78e0c0..6ed9369 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25.7-alpine AS build +FROM golang:1.27.1-alpine AS build WORKDIR /go/src/github.com/segmentio/chamber COPY . .