We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0cf0b commit 97feab8Copy full SHA for 97feab8
.github/workflows/test.yml
@@ -8,11 +8,11 @@ jobs:
8
steps:
9
- uses: actions/checkout@v3
10
- run: rustup update 1.70 --no-self-update && rustup default 1.70
11
- - run: cargo build
+ - run: cargo build --workspace
12
- name: test mdBook
13
# rustdoc doesn't build dependencies, so it needs to run after `cargo build`,
14
# but its dependency search gets confused if there are multiple copies of any
15
# dependency in target/debug/deps, so it needs to run before `cargo test` et al.
16
# clutter target/debug/deps with multiple copies of things.
17
run: for file in $(find mdbook -name '*.md' | sort); do rustdoc --test $file -L ./target/debug/deps; done
18
- - run: cargo test
+ - run: cargo test --workspace
0 commit comments