Skip to content

Commit 4ac8820

Browse files
committed
ci: check rustdocs on build
1 parent 1da2b28 commit 4ac8820

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/actions/rust-build/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ runs:
2929
if: ${{ inputs.run-tests == 'true' }}
3030
shell: bash
3131
run: cargo test --all-features --verbose --package ${{ inputs.package }}
32+
33+
- name: Check documentation
34+
env:
35+
RUSTFLAGS: --cfg docsrs
36+
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
37+
run: cargo doc --no-deps --document-private-items --all-features

0 commit comments

Comments
 (0)