This is an automated email from the ASF dual-hosted git repository. lizhimins pushed a commit to branch fix/golang-codecov-token in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit 8138f175b4562cf22da2acdf83d7dcd166bc8190 Author: terrance.lzm <[email protected]> AuthorDate: Mon Jul 13 17:15:45 2026 +0800 fix: add CODECOV_ACTION_KEY token and upgrade actions in golang coverage workflow - Add token: ${{ secrets.CODECOV_ACTION_KEY }} to fix 429 rate limit error - Upgrade codecov/codecov-action from v3 to v4 - Upgrade actions/checkout from v2 to v4 - Upgrade actions/setup-go from v2 to v5 Fixes: https://github.com/apache/rocketmq-clients/actions/runs/29067603573/job/86282401552 --- .github/workflows/golang_coverage.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golang_coverage.yml b/.github/workflows/golang_coverage.yml index 3e1090f4..4f2908e3 100644 --- a/.github/workflows/golang_coverage.yml +++ b/.github/workflows/golang_coverage.yml @@ -12,17 +12,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Golang ${{ matrix.go }} - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Generate coverage report working-directory: ./golang run: go test -coverprofile coverage.out - name: Upload to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_ACTION_KEY }} file: ./golang/coverage.out flags: golang fail_ci_if_error: true
