Skip to content

Commit 0ec173e

Browse files
authored
feat: ci caches rust deps b/wn builds (#7)
1 parent a45c76c commit 0ec173e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ jobs:
5858
with:
5959
bun-version: latest
6060

61+
- run: rustup toolchain install stable --profile minimal
62+
63+
- uses: Swatinem/rust-cache@v2
64+
with:
65+
# using the default — we can bust the cache by changing this
66+
prefix-key: "v0-rust"
67+
workspaces: "src-tauri"
68+
6169
- name: (Ubuntu only) Install dependencies
6270
if: matrix.platform == 'ubuntu-22.04'
6371
run: |

0 commit comments

Comments
 (0)