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

View File

@@ -15,7 +15,7 @@ jobs:
run: git clone "${{ secrets.G_CLONE_URL }}" . run: git clone "${{ secrets.G_CLONE_URL }}" .
- name: Set go proxy mirror - 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 - name: Download dependencies
run: go mod download run: go mod download