Skip to content

Commit beade42

Browse files
committed
Use the packaged cargo lock file when installing cargo2junit in the CI build
1 parent f5dcaa0 commit beade42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }}
8787
- name: Generate test result and coverage report
8888
run: |
89-
cargo install cargo2junit grcov;
89+
cargo install --locked cargo2junit grcov;
9090
cargo test $CARGO_OPTIONS -v -- -Z unstable-options --format json | cargo2junit > results.xml;
9191
zip -0 ccov.zip `find . \( -name "$PROJECT_NAME_UNDERSCORE*.gc*" \) -print`;
9292
grcov ccov.zip -s . -t lcov --llvm --ignore-not-existing --ignore "/*" --ignore "tests/*" -o lcov.info;

0 commit comments

Comments
 (0)