Test building doc in ci.yml/lint (#999)

This commit is contained in:
Jiahao XU 2023-04-25 07:48:44 +10:00 committed by GitHub
parent 0261d12d9d
commit c65e1269a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,12 +214,15 @@ test: unit-tests build e2e-tests
clippy: print-env
{{cargo-bin}} clippy --no-deps -- -D clippy::all
doc: print-env
cargo doc --no-deps --workspace
fmt: print-env
cargo fmt --all -- --check
fmt-check: fmt
lint: clippy fmt-check
lint: clippy fmt-check doc
# Rm dev-dependencies for `cargo-check` and clippy to speedup compilation.
# This is a workaround for the cargo nightly option `-Z avoid-dev-deps`