Check documentation errors in CI

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-08-02 22:46:06 -04:00
1 parent d39f6780a7
commit d6643086f3
1 file changed
+17
+17
View File
@@ -48,3 +48,20 @@ jobs:
with:
command: clippy
args: --all-features --workspace -- -D warnings
documentation:
name: Documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: doc
args: -p naga --all-features --document-private-items