From cd843ed8770fcda302786dfe207d442e42eb9a61 Mon Sep 17 00:00:00 2001 From: db123-test Date: Mon, 4 May 2026 09:34:49 +0330 Subject: [PATCH] fix(ci-cd): add domestic go proxy mirror for faster dep downloads Configure GOPROXY and GOSUMDB to use Iranian proxy servers (go.devneeds.ir) before downloading dependencies in CI pipeline. --- .github/workflows/ci-cd.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e746885..c37eaf7 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -14,6 +14,9 @@ jobs: - name: Checkout repo run: git clone "${{ secrets.G_CLONE_URL }}" . + - name: Set go proxy mirror + run: go env -w GOPROXY=https://go.devneeds.ir,direct && go env -w GOSUMDB="sum.golang.org https://go-sum.devneeds.ir" + - name: Download dependencies run: go mod download