Skip to content

Commit fb6650b

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

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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 }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
docker cp chat-server:/usr/src/app/logs/. .
3939
4040
- name: Upload logs as artifact
41-
uses: actions/upload-artifact@v2
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: logs
4444
path: |

0 commit comments

Comments
 (0)