Skip to content

Commit 11d7cb6

Browse files
authored
build: upgrade Go toolchain to 1.26.4 project-wide (#14)
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.
1 parent 3ab203f commit 11d7cb6

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: steps.cache.outputs.cache-hit != 'true'
3131
uses: actions/setup-go@v6
3232
with:
33-
go-version: '1.24.9'
33+
go-version: '1.26.4'
3434
- name: Native Build
3535
if: steps.cache.outputs.cache-hit != 'true'
3636
run: ./run lib core
@@ -53,7 +53,7 @@ jobs:
5353
if: steps.cache.outputs.cache-hit != 'true'
5454
uses: actions/setup-go@v6
5555
with:
56-
go-version: '1.24.9'
56+
go-version: '1.26.4'
5757
- name: Mieru Build
5858
if: steps.cache.outputs.cache-hit != 'true'
5959
run: ./run lib mieru

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: steps.cache.outputs.cache-hit != 'true'
3636
uses: actions/setup-go@v6
3737
with:
38-
go-version: '1.24.9'
38+
go-version: '1.26.4'
3939
- name: Native Build
4040
if: steps.cache.outputs.cache-hit != 'true'
4141
run: ./run lib core
@@ -58,7 +58,7 @@ jobs:
5858
if: steps.cache.outputs.cache-hit != 'true'
5959
uses: actions/setup-go@v6
6060
with:
61-
go-version: '1.24.9'
61+
go-version: '1.26.4'
6262
- name: Mieru Build
6363
if: steps.cache.outputs.cache-hit != 'true'
6464
run: ./run lib mieru

.github/workflows/preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: steps.cache.outputs.cache-hit != 'true'
2727
uses: actions/setup-go@v6
2828
with:
29-
go-version: '1.24.9'
29+
go-version: '1.26.4'
3030
- name: Native Build
3131
if: steps.cache.outputs.cache-hit != 'true'
3232
run: ./run lib core
@@ -49,7 +49,7 @@ jobs:
4949
if: steps.cache.outputs.cache-hit != 'true'
5050
uses: actions/setup-go@v6
5151
with:
52-
go-version: '1.24.9'
52+
go-version: '1.26.4'
5353
- name: Mieru Build
5454
if: steps.cache.outputs.cache-hit != 'true'
5555
run: ./run lib mieru

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: steps.cache.outputs.cache-hit != 'true'
3333
uses: actions/setup-go@v6
3434
with:
35-
go-version: '1.24.9'
35+
go-version: '1.26.4'
3636
- name: Native Build
3737
if: steps.cache.outputs.cache-hit != 'true'
3838
run: ./run lib core
@@ -55,7 +55,7 @@ jobs:
5555
if: steps.cache.outputs.cache-hit != 'true'
5656
uses: actions/setup-go@v6
5757
with:
58-
go-version: '1.24.9'
58+
go-version: '1.26.4'
5959
- name: Mieru Build
6060
if: steps.cache.outputs.cache-hit != 'true'
6161
run: ./run lib mieru

libcore/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module libcore
22

33
go 1.24.7
44

5-
toolchain go1.24.9
5+
toolchain go1.26.4
66

77
require (
88
github.com/dyhkwong/sing-juicity v0.0.3

0 commit comments

Comments
 (0)