Runs rustdoc as part of the CI

Allows to find some bugs in the documentation
pull/409/head
Tpt 2 years ago committed by Thomas Tanon
parent f8486364b3
commit cdd8866fd3
  1. 24
      .github/workflows/tests.yml

@ -173,6 +173,30 @@ jobs:
env:
RUST_BACKTRACE: 1
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: rustup update
- uses: Swatinem/rust-cache@v2
- run: cargo doc --all-features
working-directory: ./lib
rustdoc_msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: rustup update && rustup override set 1.60.0
- uses: Swatinem/rust-cache@v2
- run: cargo doc --all-features
working-directory: ./lib
env:
RUSTDOCFLAGS: -D warnings
js:
runs-on: ubuntu-latest
steps:

Loading…
Cancel
Save