We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 095eb09 commit aa516a9Copy full SHA for aa516a9
1 file changed
.github/workflows/ci.yml
@@ -17,6 +17,7 @@ jobs:
17
GONOSUMCHECK: github.com/orchestra-mcp/*
18
GONOSUMDB: github.com/orchestra-mcp/*
19
GOFLAGS: -mod=mod
20
+ GOPROXY: "https://proxy.golang.org,direct"
21
steps:
22
- uses: actions/checkout@v4
23
@@ -26,9 +27,10 @@ jobs:
26
27
28
- name: Download dependencies
29
run: |
- for i in 1 2 3; do
30
+ for i in 1 2 3 4 5; do
31
go mod download && break
- echo "Retry $i: waiting for Go proxy to index..."
32
+ echo "Attempt $i failed, retrying with GOPROXY=direct..."
33
+ GOPROXY=direct go mod download && break
34
sleep 15
35
done
36
0 commit comments