fix(ci): add GOPROXY and GOSUMDB env vars for consistent downloads

Ensures modules are downloaded from official proxy with proper checksum
verification to avoid checksum mismatch errors in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chenhg5andClaude Opus 4.6 committed 2026-03-13 10:16:04 +08:00
1 parent 334c58bbfb
commit e2745997ca
1 file changed
+3
+3
View File
@@ -22,6 +22,9 @@ jobs:
- name: Download dependencies
run: go mod download
env:
GOPROXY: https://proxy.golang.org,direct
GOSUMDB: sum.golang.org
- name: Build
run: go build ./...