Skip to content

Commit

Permalink
CI: add cargo doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hellow554 authored and Philippe-Cholet committed Jan 10, 2024
1 parent 1fb979b commit 18657fa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -27,6 +27,13 @@ jobs:
components: clippy
- run: RUSTFLAGS="--deny warnings" cargo clippy ${{ matrix.features }}

doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features

msrv:
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -60,7 +67,7 @@ jobs:
name: All checks succeeded
if: success()
runs-on: ubuntu-latest
needs: [check, msrv, test, check-format]
needs: [check, msrv, test, check-format, doc]
steps:
- name: Mark the job as successful
run: exit 0

0 comments on commit 18657fa

Please sign in to comment.