File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - uses : dtolnay/rust-toolchain@stable
1818 with :
1919 components : rustfmt, clippy
20+ - uses : taiki-e/install-action@just
2021 - uses : Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
2122 with :
2223 key : partition-${{ matrix.partition }}
Original file line number Diff line number Diff line change @@ -2,6 +2,13 @@ set positional-arguments
22
33# Note: help messages should be 1 line long as required by just.
44
5+ # Build docs for crates and direct dependencies
6+ rustdoc * args :
7+ @ cargo tree --depth 1 -e normal --prefix none --workspace --all-features \
8+ | gawk ' { gsub(" v", "@", $0); printf("%s\n", $1); }' \
9+ | xargs printf -- ' -p %s\n' \
10+ | RUSTC_BOOTSTRAP=1 RUSTDOCFLAGS=' --cfg=doc_cfg' xargs cargo doc --no-deps --all-features {{ args}}
11+
512# Run cargo release in CI.
613ci-cargo-release :
714 # cargo-release requires a release off a branch.
You can’t perform that action at this time.
0 commit comments