ci: build rustdoc with a stable toolchain

This commit is contained in:
Quentin Gliech
2023-03-17 17:19:02 +01:00
parent 2c0fd14211
commit ff5266b8b7

View File

@@ -24,8 +24,8 @@ jobs:
- name: Install Rust toolchain
run: |
rustup toolchain install nightly
rustup default nightly
rustup toolchain install stable
rustup default stable
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
@@ -50,6 +50,9 @@ jobs:
run: mdbook build
- name: Build rustdoc
env:
# This is required to be able use to use the unstable `-Zrustdoc-map` flag
RUSTC_BOOTSTRAP: "1"
run: cargo doc -Zrustdoc-map --workspace --lib --no-deps
- name: Build storybook