Skip to content

Commit 83cad6d

Browse files
feat(ci): add rust-cache to accelerate tests
Adds `Swatinem/rust-cache@v2` to the CI workflow to cache Cargo dependencies and build artifacts. This will significantly reduce build times for subsequent runs by avoiding redundant compilation of dependencies. Co-authored-by: 404Setup <[email protected]>
1 parent 3e5bb8a commit 83cad6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- name: Set up Rust
1919
uses: dtolnay/rust-toolchain@nightly
20+
- name: Rust Cache
21+
uses: Swatinem/rust-cache@v2
2022
- name: Build
2123
run: cargo build --verbose
2224
- name: Run tests

0 commit comments

Comments
 (0)