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

lollipopjin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/master by this push:
     new 3180b68c fix: add CODECOV_ACTION_KEY token and upgrade actions in 
golang coverage workflow (#1302)
3180b68c is described below

commit 3180b68cf0f908f29cd2162c0ddf645adae6b0a6
Author: lizhimins <[email protected]>
AuthorDate: Mon Jul 13 17:29:05 2026 +0800

    fix: add CODECOV_ACTION_KEY token and upgrade actions in golang coverage 
workflow (#1302)
---
 .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

Reply via email to