2
0
Fork 0
mirror of https://github.com/simonask/libyaml-safer synced 2025-03-09 09:17:21 +00:00

Test docs.rs documentation build in CI

This commit is contained in:
David Tolnay 2023-09-24 10:53:44 -07:00
parent 7bcf33fcfb
commit eed18e0254
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -47,6 +47,20 @@ jobs:
- uses: dtolnay/rust-toolchain@1.56.0
- run: cargo check --lib
doc:
name: Documentation
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs
clippy:
name: Clippy
runs-on: ubuntu-latest