You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2026/07/13 09:16:13 UTC

(rocketmq-clients) branch fix/golang-codecov-token created (now 8138f175)

This is an automated email from the ASF dual-hosted git repository.

lizhimins pushed a change to branch fix/golang-codecov-token
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


      at 8138f175 fix: add CODECOV_ACTION_KEY token and upgrade actions in golang coverage workflow

This branch includes the following new commits:

     new 8138f175 fix: add CODECOV_ACTION_KEY token and upgrade actions in golang coverage workflow

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(rocketmq-clients) 01/01: fix: add CODECOV_ACTION_KEY token and upgrade actions in golang coverage workflow

Posted by li...@apache.org.
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 <te...@alibaba-inc.com>
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