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:
@@ -63,6 +63,7 @@ jobs:
|
|||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ matrix.target }}
|
key: ${{ matrix.target }}
|
||||||
|
cache-workspace-crates: true
|
||||||
- uses: oven-sh/setup-bun@v2
|
- uses: oven-sh/setup-bun@v2
|
||||||
with:
|
with:
|
||||||
bun-version: "1.3"
|
bun-version: "1.3"
|
||||||
@@ -120,6 +121,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: nightly-2026-03-27
|
toolchain: nightly-2026-03-27
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
cache-workspace-crates: true
|
||||||
- uses: mlugg/setup-zig@v2
|
- uses: mlugg/setup-zig@v2
|
||||||
with:
|
with:
|
||||||
version: 0.15.2
|
version: 0.15.2
|
||||||
@@ -156,6 +159,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: nightly-2026-03-27
|
toolchain: nightly-2026-03-27
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
cache-workspace-crates: true
|
||||||
- uses: mlugg/setup-zig@v2
|
- uses: mlugg/setup-zig@v2
|
||||||
with:
|
with:
|
||||||
version: 0.15.2
|
version: 0.15.2
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly"
|
channel = "nightly-2026-03-27"
|
||||||
components = ["rustfmt", "clippy", "rust-analyzer"]
|
components = ["rustfmt", "clippy", "rust-analyzer"]
|
||||||
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
|
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
|
||||||
|
|||||||
Reference in New Issue
Block a user