From ac6c2a4c10c52a13007f67fa3b84757838005904 Mon Sep 17 00:00:00 2001 From: 0g-peterzhb <158457852+0g-peterzhb@users.noreply.github.com> Date: Wed, 9 Jul 2025 20:12:39 +0800 Subject: [PATCH] fix the grcov version (#380) --- .github/workflows/cc.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cc.yml b/.github/workflows/cc.yml index b1aff99..32e65e0 100644 --- a/.github/workflows/cc.yml +++ b/.github/workflows/cc.yml @@ -45,10 +45,13 @@ jobs: RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests' - id: coverage - uses: actions-rs/grcov@v0.1 + uses: SierraSoftworks/setup-grcov@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + version: 0.9.1 - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: file: ${{ steps.coverage.outputs.report }} # Disable to avoid CI failure as following: