Skip to content

Commit f84eab9

Browse files
author
yngrtc
committed
fix grcov github action
1 parent d66ac42 commit f84eab9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/grcov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
args: --lib --no-fail-fast ${{ matrix.cargo_flags }}
5151
env:
5252
CARGO_INCREMENTAL: "0"
53-
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off'
54-
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off'
53+
RUSTFLAGS: '-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off -Cprofile-generate=target/debug'
54+
RUSTDOCFLAGS: '-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off -Cprofile-generate=target/debug'
5555

5656
- name: Generate coverage data
5757
id: grcov
@@ -75,7 +75,7 @@ jobs:
7575
--service-name "GitHub Actions" \
7676
--service-number ${{ github.run_id }}
7777
- name: Upload coverage as artifact
78-
uses: actions/upload-artifact@v2
78+
uses: actions/upload-artifact@v4
7979
with:
8080
name: lcov.info
8181
# path: ${{ steps.grcov.outputs.report }}

0 commit comments

Comments
 (0)