diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index fb15817..00ad82c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -33,8 +33,8 @@ jobs: go test -v ./... -covermode=count -coverprofile=coverage.out go tool cover -func=coverage.out -o=coverage.out env: - HTTPS_PROXY: ${{ secrets.HTTPS_PROXY }} - HTTP_PROXY: ${{ secrets.HTTP_PROXY }} + SECURE_PROXY: ${{ secrets.SECURE_PROXY }} + NON_SECURE_PROXY: ${{ secrets.NON_SECURE_PROXY }} - name: Go Coverage Badge # Pass the `coverage.out` output to this action uses: tj-actions/coverage-badge-go@v2 diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index d8d7acc..58d2356 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,5 +14,5 @@ jobs: - name: Run tests run: go test -cover ./... env: - HTTPS_PROXY: ${{ secrets.HTTPS_PROXY }} - HTTP_PROXY: ${{ secrets.HTTP_PROXY }} \ No newline at end of file + SECURE_PROXY: ${{ secrets.SECURE_PROXY }} + NON_SECURE_PROXY: ${{ secrets.NON_SECURE_PROXY }} \ No newline at end of file