We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f29f9b commit 7a5ee26Copy full SHA for 7a5ee26
1 file changed
.github/workflows/ci.yml
@@ -10,6 +10,7 @@ env:
10
GONOSUMCHECK: github.com/orchestra-mcp/*
11
GONOSUMDB: github.com/orchestra-mcp/*
12
GOFLAGS: -mod=mod
13
+ GOPROXY: "https://proxy.golang.org,direct"
14
15
jobs:
16
test:
@@ -23,9 +24,10 @@ jobs:
23
24
25
- name: Download dependencies
26
run: |
- for i in 1 2 3; do
27
+ for i in 1 2 3 4 5; do
28
go mod download && break
- echo "Retry $i: waiting for Go proxy to index..."
29
+ echo "Attempt $i failed, retrying with GOPROXY=direct..."
30
+ GOPROXY=direct go mod download && break
31
sleep 15
32
done
33
0 commit comments