ci: enabled workspace crate caching in Rust cache action

- Enabled workspace crate caching in Rust cache action across three CI jobs for faster builds.
This commit is contained in:
can1357
2026-04-01 07:41:08 +02:00
parent 2185f32363
commit 4b1d5ebb0b
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -63,6 +63,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}
cache-workspace-crates: true
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.3"
@@ -120,6 +121,8 @@ jobs:
with:
toolchain: nightly-2026-03-27
- uses: Swatinem/rust-cache@v2
with:
cache-workspace-crates: true
- uses: mlugg/setup-zig@v2
with:
version: 0.15.2
@@ -156,6 +159,8 @@ jobs:
with:
toolchain: nightly-2026-03-27
- uses: Swatinem/rust-cache@v2
with:
cache-workspace-crates: true
- uses: mlugg/setup-zig@v2
with:
version: 0.15.2