Skip to content

Commit b8a268d

Browse files
committed
Check docs in CI
1 parent 736b552 commit b8a268d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,27 @@ jobs:
8686
--all-features \
8787
--exclude cp-benches "
8888

89+
docs:
90+
name: Check Documentation
91+
runs-on: ubuntu-latest
92+
steps:
93+
94+
- name: Checkout
95+
uses: actions/checkout@v1
96+
- name: Install Rust
97+
uses: actions-rs/toolchain@v1
98+
with:
99+
profile: minimal
100+
toolchain: stable
101+
override: true
102+
components: rustfmt
103+
104+
- name: cargo doc --all --no-deps --document-private-items --all-features
105+
uses: actions-rs/cargo@v1
106+
with:
107+
command: doc
108+
args: --all --no-deps --document-private-items --all-features
109+
89110
check_no_std:
90111
name: Check no_std
91112
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)