Browse Source

Check docs in CI

master
Pratyush Mishra 3 years ago
parent
commit
b8a268d550
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      .github/workflows/ci.yml

+ 21
- 0
.github/workflows/ci.yml

@ -86,6 +86,27 @@ jobs:
--all-features \ --all-features \
--exclude cp-benches " --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: check_no_std:
name: Check no_std name: Check no_std
runs-on: ubuntu-latest runs-on: ubuntu-latest

Loading…
Cancel
Save