fix: go.mod 降级到 1.22,CI 加 GOTOOLCHAIN=local
Build and Release auth-rt / release (push) Successful in 1m42s Details

避免 CI 里 Go 1.22 尝试下载 1.25.7 toolchain。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ywkj 2026-03-20 21:24:22 +08:00
parent 48a03f3376
commit 39ef2f59b6
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ jobs:
- name: Build all platforms - name: Build all platforms
run: | run: |
export PATH="/usr/local/go/bin:$PATH" export PATH="/usr/local/go/bin:$PATH"
export GOTOOLCHAIN=local
cd cli cd cli
for pair in darwin/arm64 darwin/amd64 linux/amd64 linux/arm64; do for pair in darwin/arm64 darwin/amd64 linux/amd64 linux/arm64; do
os="${pair%/*}" os="${pair%/*}"

View File

@ -1,3 +1,3 @@
module github.com/agent-skills/auth-rt module github.com/agent-skills/auth-rt
go 1.25.7 go 1.22