Skip to content

Commit 446da68

Browse files
authored
ci: cache Rust deps in desktop-windows-unit job (#1327)
## Summary Caches Rust dependencies and build outputs for the Windows desktop unit-test job, using `desktop/src-tauri` as the workspace. The first run seeds the cache; later runs can avoid rebuilding unchanged dependencies. Co-authored-by: Matthew Jacobs <mjacobs@users.noreply.github.com>
1 parent 3853e4b commit 446da68

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ jobs:
218218
with:
219219
persist-credentials: false
220220

221+
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
222+
with:
223+
workspaces: desktop/src-tauri
224+
221225
- name: Prepare placeholder sidecar resource
222226
shell: pwsh
223227
run: |

0 commit comments

Comments
 (0)