Skip to content

Commit 7578627

Browse files
committed
fix(ci): better emulate docsrs by not building dependencies
1 parent ded8bf2 commit 7578627

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/rustdoc.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717

1818
- name: Install nightly toolchain
1919
uses: dtolnay/rust-toolchain@master
20-
with:
21-
toolchain: nightly-2025-10-30 # date of 1.91, because 1.92+ removed doc_auto_cfg, which is not yet supported by all dependencies
2220

2321
- name: Cache dependencies
2422
uses: Swatinem/rust-cache@v2
2523

2624
- name: Check rustdoc build
27-
run: RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --all-features -Zunstable-options -Zrustdoc-scrape-examples
25+
run: RUSTDOCFLAGS='--cfg docsrs' cargo +nightly doc --all-features -Zunstable-options -Zrustdoc-scrape-examples --no-deps

0 commit comments

Comments
 (0)