Skip to content

Commit dec08ee

Browse files
authored
ci: fix cargo caching in docs build and update deprecated macOS runner (#93)
- Add Swatinem/rust-cache@v2 to docs.yml build step to properly cache cargo dependencies and build artifacts - Update release.yml to use macos-latest-large instead of deprecated macos-13-large for x86_64-apple-darwin builds
1 parent 655af95 commit dec08ee

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
- name: Setup Rust toolchain
2727
uses: dtolnay/rust-toolchain@stable
2828

29+
- name: Setup Rust cache
30+
uses: Swatinem/rust-cache@v2
31+
with:
32+
shared-key: ${{ runner.os }}
33+
2934
- name: Build documentation
3035
run: ./scripts/mdbook.sh build
3136

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
os: ubuntu-latest-16-cores
2929
name: linux-aarch64
3030
- target: x86_64-apple-darwin
31-
os: macos-13-large
31+
os: macos-latest-large
3232
name: macos-x86_64
3333
- target: aarch64-apple-darwin
3434
os: macos-14-xlarge

0 commit comments

Comments
 (0)