Skip to content

Commit ef1ddb9

Browse files
committed
ci: do not build doc for deps
1 parent e8a034d commit ef1ddb9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -ex
1414
cargo test
1515
cargo fmt $fmt_args
1616
cargo clippy $clippy_args -- --deny warnings
17-
CARGO_BUILD_RUSTDOCFLAGS="--deny warnings" cargo doc --document-private-items
17+
CARGO_BUILD_RUSTDOCFLAGS="--deny warnings" cargo doc --document-private-items --no-deps
1818

1919
set +x
2020

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
if: always()
9090
env:
9191
CARGO_BUILD_RUSTDOCFLAGS: "--deny warnings"
92-
run: cargo doc --profile ${{ env.build-type }} --document-private-items --locked
92+
run: cargo doc --profile ${{ env.build-type }} --document-private-items --no-deps --locked
9393

9494
- name: Shear
9595
if: always()

0 commit comments

Comments
 (0)