From 36807179ec255778b1542858e4244a41cff5d752 Mon Sep 17 00:00:00 2001 From: Matt White Date: Fri, 13 Mar 2026 15:27:33 -0700 Subject: [PATCH] ci: enable gcassert on Go 1.24 Update gcassert pin to ad3fae17aff which includes the x/tools bump to v0.30.0 (jordanlewis/gcassert#25), fixing Go 1.24 support. Remove the Go < 1.24 cap that was added as a workaround in #146. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0c07db6..14eae9a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -69,10 +69,10 @@ jobs: - name: 'GCAssert' # Only run gcassert on the latest versions of Go. Inlining heuristics # change from version to version. - # gcassert@7b67d223 uses x/tools v0.17.0, which doesn't support Go 1.24+. - if: ${{ matrix.arch == 'x64' && matrix.go >= '1.22' && matrix.go < '1.24' }} + # gcassert requires go1.22+. + if: ${{ matrix.arch == 'x64' && matrix.go >= '1.22' }} run: | - go install github.com/jordanlewis/gcassert/cmd/gcassert@7b67d223 + go install github.com/jordanlewis/gcassert/cmd/gcassert@ad3fae17aff gcassert ./... - name: 'BuildTest for armv7'