From 94308d991608af9d582e62e37e8aa86016690d9f Mon Sep 17 00:00:00 2001 From: Tom Arrell Date: Mon, 7 Sep 2026 20:00:05 +0200 Subject: [PATCH 1/2] chore: update Go to 1.27.1 --- .github/workflows/test.yaml | 10 +++++----- README.md | 2 +- go.mod | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index db9748b..0d47bf4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,13 +7,13 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v7 + - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v7 with: - go-version: "1.22" - - - name: Checkout code - uses: actions/checkout@v2 + go-version-file: go.mod - name: Test run: go test ./... diff --git a/README.md b/README.md index 48cd472..ea394bb 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ during return to help identify the error source during debugging. ## Install -Go `>= v1.22.0` +Go `>= v1.27.1` ```bash $ go install github.com/tomarrell/wrapcheck/v2/cmd/wrapcheck@v2 ``` diff --git a/go.mod b/go.mod index ff46d52..c39efc5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tomarrell/wrapcheck/v2 -go 1.24.0 +go 1.27.1 require ( github.com/gobwas/glob v0.2.3 From 762075d1217dd4e5d61f7f8c08b0fd1b0d4fbd26 Mon Sep 17 00:00:00 2001 From: Tom Arrell Date: Wed, 23 Sep 2026 02:17:34 +0200 Subject: [PATCH 2/2] chore: keep Go 1.24.0 as the minimum version Restore the go directive to 1.24.0, the floor required by golang.org/x/tools v0.39.0. Raising it to 1.27.1 would force downstream consumers such as golangci-lint (go 1.26.0) onto a newer toolchain without any code needing it. Align the README minimum with go.mod. --- README.md | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea394bb..f1e7ca1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ during return to help identify the error source during debugging. ## Install -Go `>= v1.27.1` +Go `>= v1.24.0` ```bash $ go install github.com/tomarrell/wrapcheck/v2/cmd/wrapcheck@v2 ``` diff --git a/go.mod b/go.mod index c39efc5..ff46d52 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tomarrell/wrapcheck/v2 -go 1.27.1 +go 1.24.0 require ( github.com/gobwas/glob v0.2.3