Check docs in CI

This commit is contained in:
Pratyush Mishra
2021-03-24 03:49:35 -07:00
parent 736b552720
commit b8a268d550

View File

@@ -86,6 +86,27 @@ jobs:
--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