From ba5814f36509d5541a68a4de2421f6d76ea15bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= <319826+stefanb@users.noreply.github.com> Date: Wed, 24 Dec 2025 11:59:20 +0100 Subject: [PATCH 1/2] Enable Go 1.26 support --- .github/workflows/ci.yaml | 15 ++++++++++----- runtime_go1.20.go | 6 +++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 27e1621..ceb8936 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,8 @@ jobs: - '1.22' - '1.23' - '1.24' - - '>=1.25.0-rc.1' + - '1.25' + - '>=1.26.0-rc.1' runs-on: ${{ matrix.os }} @@ -38,7 +39,8 @@ jobs: matrix: go: - '1.24' - - '>=1.25.0-rc.1' + - '1.25' + - '>=1.26.0-rc.1' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -56,7 +58,8 @@ jobs: matrix: go: - '1.24' - - '>=1.25.0-rc.1' + - '1.25' + - '>=1.26.0-rc.1' steps: - uses: actions/checkout@v2 @@ -74,7 +77,8 @@ jobs: matrix: go: - '1.24' - - '>=1.25.0-rc.1' + - '1.25' + - '>=1.26.0-rc.1' steps: - uses: actions/checkout@v2 @@ -91,7 +95,8 @@ jobs: matrix: go: - '1.24.4' - - '1.25rc1' + - '1.25.5' + - '1.26rc1' steps: - uses: actions/checkout@v2 diff --git a/runtime_go1.20.go b/runtime_go1.20.go index 68ab1f8..f3149b8 100644 --- a/runtime_go1.20.go +++ b/runtime_go1.20.go @@ -17,12 +17,12 @@ // bumping of the go versions supported by adjusting the build tags below. The // way go version tags work the tag for goX.Y will be declared for every // subsequent release. So go1.20 will be defined for go1.21, go1.22, etc. The -// build tag "go1.20 && !go1.26" defines the range [go1.20, go1.26) (inclusive -// on go1.20, exclusive on go1.26). +// build tag "go1.20 && !go1.27" defines the range [go1.20, go1.27) (inclusive +// on go1.20, exclusive on go1.27). // The untested_go_version flag enables building on any go version, intended // to ease testing against Go at tip. -//go:build (go1.20 && !go1.26) || untested_go_version +//go:build (go1.20 && !go1.27) || untested_go_version package swiss From eecae231f041ae79293ad191d599edf8d175fc1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= <319826+stefanb@users.noreply.github.com> Date: Wed, 24 Dec 2025 12:18:48 +0100 Subject: [PATCH 2/2] GOEXPERIMENT=noswissmap was removed in Go 1.26 https://github.com/golang/go/issues/54766 --- .github/workflows/ci.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ceb8936..c4f799f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,7 +40,6 @@ jobs: go: - '1.24' - '1.25' - - '>=1.26.0-rc.1' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2