Skip to content

Commit

Permalink
chore(ci): add rust dependency caching with rust-cache action (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
K-dash authored Jan 26, 2025
1 parent d257a21 commit 1d08d14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ jobs:
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Rust unit tests with coverage report
# https://github.com/xd009642/tarpaulin/issues/1092#issuecomment-1407739176
run: cargo tarpaulin --engine llvm --no-dead-code --no-fail-fast --all-features --workspace -o xml --output-dir ./cov-reports
run: cargo tarpaulin --engine llvm --no-dead-code --no-fail-fast --all-features --workspace -o xml --output-dir ./cov-reports --skip-clean
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 1d08d14

Please sign in to comment.