From 4b1d5ebb0b8b566f2505fdc99fe069af9d7e7864 Mon Sep 17 00:00:00 2001 From: can1357 Date: Wed, 1 Apr 2026 07:41:08 +0200 Subject: [PATCH] ci: enabled workspace crate caching in Rust cache action - Enabled workspace crate caching in Rust cache action across three CI jobs for faster builds. --- .github/workflows/ci.yml | 5 +++++ rust-toolchain.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a63c5d9ea..372f763d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/rust-toolchain.toml b/rust-toolchain.toml index c8bad953b..dd8d2c8b2 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly" +channel = "nightly-2026-03-27" components = ["rustfmt", "clippy", "rust-analyzer"] targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]