mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
Check documentation errors in CI
This commit is contained in:
1 parent
d39f6780a7
commit
d6643086f3
1 file changed
+17
@@ -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
|
||||
Reference in new issue
Block a user