Skip to content

Commit

Permalink
ci: build documentation and forbid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Apr 9, 2024
1 parent 63db062 commit 2e75137
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,20 @@ jobs:

- name: Verify release artifact
run: ./ci/verify_android_release.sh

docs:
name: Check for documentation errors
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@nightly

- name: Build documentation
run: cargo doc --locked --all-features --no-deps --document-private-items
env:
RUSTDOCFLAGS: -Dwarnings

0 comments on commit 2e75137

Please sign in to comment.