From 6a17ebaf7f6a09afbd77781ba625b5bee46e4848 Mon Sep 17 00:00:00 2001 From: hawkff <109485367+hawkff@users.noreply.github.com> Date: Mon, 15 Jun 2026 18:04:41 -0400 Subject: [PATCH] build: upgrade Go toolchain to 1.26.4 project-wide Bump libcore/go.mod toolchain directive (go1.24.9 -> go1.26.4) and all CI setup-go pins (1.24.9 -> 1.26.4). The go.mod language floor (go 1.24.7) is left as-is. Verified the native core (starifly/sing-box + libneko + gomobile + all deps) builds cleanly under Go 1.26.4 on the Linux builder. --- .github/workflows/build.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- .github/workflows/preview.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- libcore/go.mod | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51c67139f..775273fc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib core @@ -53,7 +53,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Mieru Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib mieru diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7a4868d0..2944c540f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib core @@ -58,7 +58,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Mieru Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib mieru diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 10257facd..bb0589fc8 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -26,7 +26,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib core @@ -49,7 +49,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Mieru Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib mieru diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1279b68f6..c3e73c263 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Native Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib core @@ -55,7 +55,7 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' uses: actions/setup-go@v6 with: - go-version: '1.24.9' + go-version: '1.26.4' - name: Mieru Build if: steps.cache.outputs.cache-hit != 'true' run: ./run lib mieru diff --git a/libcore/go.mod b/libcore/go.mod index 1ac435cb9..8eead183b 100644 --- a/libcore/go.mod +++ b/libcore/go.mod @@ -2,7 +2,7 @@ module libcore go 1.24.7 -toolchain go1.24.9 +toolchain go1.26.4 require ( github.com/dyhkwong/sing-juicity v0.0.3