diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index af8f127..a0b5ba0 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -16,6 +16,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: "rust -> target" + cache-all-crates: "true" - name: Rust Build run: cd rust; cargo build --release @@ -27,6 +28,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: "rust -> target" + cache-all-crates: "true" - name: Rust Clippy run: cd rust; cargo clippy @@ -38,6 +40,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: "rust -> target" + cache-all-crates: "true" - name: Rust Run tests run: cd rust; cargo test @@ -47,4 +50,4 @@ jobs: - uses: actions/checkout@v4 - uses: rui314/setup-mold@v1 - name: Rust Format - run: cd rust; cargo fmt -- --check \ No newline at end of file + run: cd rust; cargo fmt -- --check diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index e2d5560..8293c4c 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -15,6 +15,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: "rust -> target" + cache-all-crates: "true" - name: Rust Build run: cd rust; cargo build --release @@ -25,5 +26,6 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: "rust -> target" + cache-all-crates: "true" - name: Rust Run tests run: cd rust; cargo test