diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac5c259e0..128eaeed8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ jobs: uses: actions/setup-go@v4 with: go-version: '1.20' + - name: Set up GOPROXY for Go + run: go env -w GOPROXY=https://goproxy.cn,direct - name: lint run: hack/verify-staticcheck.sh - name: vendor diff --git a/.github/workflows/release_binaries.yml b/.github/workflows/release_binaries.yml index 049640223..461f15544 100644 --- a/.github/workflows/release_binaries.yml +++ b/.github/workflows/release_binaries.yml @@ -30,6 +30,9 @@ jobs: - name: Install Go uses: actions/setup-go@v3 + - name: Set up GOPROXY for Go + run: go env -w GOPROXY=https://goproxy.cn,direct + # step3: make binaries - name: Make binaries run: make release