Skip to content

Commit b3cdc07

Browse files
committed
chore(ci): cache cargo in Pages workflow
Use Swatinem/rust-cache@v2 to speed up rustdoc builds on Pages.
1 parent 8e08309 commit b3cdc07

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
libxdo-dev \
3535
pkg-config
3636
37+
- name: Cache cargo
38+
uses: Swatinem/rust-cache@v2
39+
3740
- name: Build Rust docs
3841
run: cargo doc --workspace --no-deps
3942

0 commit comments

Comments
 (0)