Commit 05e8075
ci: 用 go-version-file 读取 go.mod 版本,修复工具链不匹配
go.mod 在依赖整理时被提升到 go 1.25.0,但 workflow 硬编码 1.24,
导致 CI 在 GOTOOLCHAIN=local 下报 'requires go >= 1.25.0'。
改用 go-version-file: go.mod,CI 版本随 go.mod 自动跟随,不再漂移。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 138764d commit 05e8075
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments