From eb59271d84e4c4de3ce289dc324c387e4776496c Mon Sep 17 00:00:00 2001 From: Peter Zhang Date: Wed, 9 Jul 2025 16:51:25 +0800 Subject: [PATCH] fix the grcov version --- .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: