From 4c8e50d943b7d4a5dfe95966a2c3e7710abdb81b Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Tue, 27 Apr 2021 15:27:44 +0200 Subject: [PATCH] Add `--no-deps` to cargo doc check (#604) By default `cargo doc` documents all crates in the graph, including dependencies, which causes it to take a significant amount of time (~12 minutes according to CI) --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index be98878981..899f6b0445 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -101,7 +101,7 @@ jobs: - name: Rustfmt tests run: rustfmt --check tests/ui/**/*.rs - name: Check docs are valid - run: RUSTDOCFLAGS=-Dwarnings cargo doc + run: RUSTDOCFLAGS=-Dwarnings cargo doc --no-deps - name: Clippy run: .github/workflows/clippy.sh