Skip to content

Commit 2f31f9a

Browse files
author
Codegen Bot
committed
Fix docs workflow: use nightly toolchain for cargo-docs-rs
The cargo-docs-rs tool requires nightly Rust features (-Z flags) but the workflow was using stable toolchain. This change updates the docs.rs compatibility check to use nightly toolchain while keeping the main documentation build on stable.
1 parent 1cac5c1 commit 2f31f9a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,11 @@ jobs:
5858
with:
5959
submodules: recursive
6060

61-
- name: Install Rust
62-
uses: dtolnay/rust-toolchain@stable
61+
- name: Install Rust nightly
62+
uses: dtolnay/rust-toolchain@nightly
6363

6464
- name: Install cargo-docs-rs
6565
run: cargo install cargo-docs-rs
6666

6767
- name: Check docs.rs build
6868
run: cargo docs-rs
69-

0 commit comments

Comments
 (0)