Make the CI check for broken links in the Rust docs (#1883)

This commit is contained in:
Martin Fischer
2023-01-15 05:18:17 +01:00
committed by GitHub
parent 2a1601749f
commit 4470d7ba04

View File

@@ -80,6 +80,9 @@ jobs:
cargo insta test --all --delete-unreferenced-snapshots
git diff --exit-code
- run: cargo test --package ruff_cli --test black_compatibility_test -- --ignored
# Check for broken links in the documentation.
# Setting RUSTDOCFLAGS because `cargo doc --check` isn't yet implemented (https://github.com/rust-lang/cargo/issues/10025).
- run: RUSTDOCFLAGS="-D warnings" cargo doc --all --no-deps
# TODO(charlie): Re-enable the `wasm-pack` tests.
# See: https://github.com/charliermarsh/ruff/issues/1425