From e2745997cab73f66aab7b8564b8994dc16e1b860 Mon Sep 17 00:00:00 2001 From: chenhg5 Date: Fri, 13 Mar 2026 10:16:04 +0800 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fb3b3c..884d569 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 ./...