From 1ca5cba8d69a5e93ac62747d99233bb415612fc0 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 10 Nov 2026 19:10:04 +0100 Subject: [PATCH 1/2] Bump Go to 1.27.4 Assisted-By: OpenAI --- README.md | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2050a35..c173a31 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ gogo -l # list every task with its description The linter configuration lives in [`.golangci.yml`](./.golangci.yml). The matching CI workflow runs lint + race-enabled tests against the -go.mod floor (Go 1.26.10) and the latest stable Go release on every PR +go.mod floor (Go 1.27.4) and the latest stable Go release on every PR — see [`.github/workflows/ci.yml`](./.github/workflows/ci.yml). ## Performance diff --git a/go.mod b/go.mod index 1f7ab3b..edd322c 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/docker/portcullis -go 1.26.10 +go 1.27.4 require github.com/stretchr/testify v1.12.1 From f515fc94f957e75c94c058f83fdafb0837b0027b Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 10 Nov 2026 19:16:07 +0100 Subject: [PATCH 2/2] Fix CI Go version selection Assisted-By: OpenAI (ChatGPT) --- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6150dd..8cb733e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Go uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0 with: - go-version: stable + go-version-file: go.mod cache: true - name: Lint diff --git a/README.md b/README.md index c173a31..41542f6 100644 --- a/README.md +++ b/README.md @@ -120,8 +120,8 @@ gogo -l # list every task with its description ``` The linter configuration lives in [`.golangci.yml`](./.golangci.yml). -The matching CI workflow runs lint + race-enabled tests against the -go.mod floor (Go 1.27.4) and the latest stable Go release on every PR +The matching CI workflow runs lint + race-enabled tests using the +Go version specified in go.mod (Go 1.27.4) on every PR — see [`.github/workflows/ci.yml`](./.github/workflows/ci.yml). ## Performance