From b4797afd39dd0becdf315d0a10fa7f243149543e Mon Sep 17 00:00:00 2001 From: db123-test Date: Mon, 4 May 2026 09:36:06 +0330 Subject: [PATCH] ci: update Go proxy mirror and disable GOSUMDB in CI Update GOPROXY to use go.iranserver.com instead of go.devneeds.ir for dependency downloads. Disable GOSUMDB validation to speed up the build process and avoid potential checksum mismatches. --- .github/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c37eaf7..70be7ab 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -15,7 +15,7 @@ jobs: 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" + run: go env -w GOPROXY=https://go.iranserver.com/repository/go/ && go env -w GOSUMDB=off - name: Download dependencies run: go mod download