Skip to content

Commit bbb0b78

Browse files
committed
feat(ci): check rustdocs on build
1 parent 489b235 commit bbb0b78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,10 @@ 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+
shell: bash
35+
env:
36+
RUSTFLAGS: --cfg docsrs
37+
RUSTDOCFLAGS: --cfg docsrs -Dwarnings
38+
run: cargo doc --no-deps --document-private-items --all-features

0 commit comments

Comments
 (0)