Skip to content

Commit

Permalink
Add --no-deps to cargo doc check (#604)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
XAMPPRocky authored Apr 27, 2021
1 parent 18ba6f3 commit 4c8e50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 4c8e50d

Please sign in to comment.