File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,24 @@ jobs:
1313 check-doc :
1414 name : Check doc
1515 runs-on : ubuntu-latest
16+ env :
17+ RUSTDOCFLAGS : " -Dwarnings --cfg docsrs -Zunstable-options --generate-link-to-definition"
1618 steps :
1719 - uses : actions/checkout@v4
1820 - name : Install toolchain
19- uses : dtolnay/rust-toolchain@nightly
20- - run : cargo install cargo-deadlinks
21- - name : doc (rand)
22- env :
23- RUSTDOCFLAGS : --cfg doc_cfg
24- # --all builds all crates, but with default features for other crates (okay in this case)
25- run : cargo deadlinks --ignore-fragments -- --all --features nightly,serde1,getrandom,small_rng
21+ uses : dtolnay/rust-toolchain@master
22+ with :
23+ toolchain : nightly
24+ - name : rand
25+ run : cargo doc --all-features --no-deps
26+ - name : rand_core
27+ run : cargo doc --all-features --package rand_core --no-deps
28+ - name : rand_distr
29+ run : cargo doc --all-features --package rand_distr --no-deps
30+ - name : rand_chacha
31+ run : cargo doc --all-features --package rand_chacha --no-deps
32+ - name : rand_pcg
33+ run : cargo doc --all-features --package rand_pcg --no-deps
2634
2735 test :
2836 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments