Skip to content

Commit bf1556a

Browse files
committed
github: force rewriting cargo2junit and grcov if it already exists
1 parent 072acae commit bf1556a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
env:
1010
CARGO_TERM_COLOR: always
@@ -70,7 +70,7 @@ jobs:
7070
restore-keys: ${{ runner.os }}-cargo-nightly-
7171
- name: Generate test result and coverage report
7272
run: |
73-
cargo install cargo2junit grcov;
73+
cargo install --force cargo2junit grcov;
7474
cargo build --verbose;
7575
cargo test $CARGO_OPTIONS -- -Z unstable-options --format json | cargo2junit > results.xml;
7676
zip -0 ccov.zip `find . \( -name "$PROJECT_NAME_UNDERSCORE*.gc*" \) -print`;

0 commit comments

Comments
 (0)