This is an automated email from the ASF dual-hosted git repository.
xushiyan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 1d08d14 chore(ci): add rust dependency caching with rust-cache action
(#265)
1d08d14 is described below
commit 1d08d146a387f115d9e2c43763b3b00a3fec988c
Author: 𝕂 <[email protected]>
AuthorDate: Mon Jan 27 05:29:54 2025 +0900
chore(ci): add rust dependency caching with rust-cache action (#265)
---
.github/workflows/ci.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 50e4951..6fc487c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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: