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.
This commit is contained in:
db123-test
2026-05-04 09:34:49 +03:30
parent e326c4270c
commit cd843ed877

View File

@@ -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