Skip to content

Commit a7e1bbc

Browse files
Patel230claude
andcommitted
ci: set GOPROXY=direct to bypass stale-proxy go.sum mismatch
The tok v0.1.0 tag was moved; the public module proxy can cache the old zip for that immutable version, causing checksum mismatches against the refreshed go.sum. Fetching GrayCodeAI modules directly from VCS keeps CI consistent with the committed hashes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a7d77c1 commit a7e1bbc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ env:
3636
GOPRIVATE: "github.com/GrayCodeAI/*"
3737
GONOSUMDB: "github.com/GrayCodeAI/*"
3838
GONOSUMCHECK: "1"
39+
# Fetch GrayCodeAI modules straight from VCS rather than the public module
40+
# proxy. The proxy can cache a stale zip for a version whose tag has been
41+
# moved (e.g. tok v0.1.0), producing go.sum checksum mismatches; direct git
42+
# fetch always matches the current tag content recorded in go.sum.
43+
GOPROXY: "direct"
3944

4045
jobs:
4146
# -------------------------------------------------------------------------

0 commit comments

Comments
 (0)