Check docs in CI
Pratyush Mishra pratyushmishra@berkeley.edu
Wed, 24 Mar 2021 03:49:35 -0700
1 files changed,
21 insertions(+),
0 deletions(-)
jump to
M
.github/workflows/ci.yml
→
.github/workflows/ci.yml
@@ -86,6 +86,27 @@ args: "--all \
--all-features \ --exclude cp-benches " + docs: + name: Check Documentation + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v1 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: rustfmt + + - name: cargo doc --all --no-deps --document-private-items --all-features + uses: actions-rs/cargo@v1 + with: + command: doc + args: --all --no-deps --document-private-items --all-features + check_no_std: name: Check no_std runs-on: ubuntu-latest