Skip to content

Commit

Permalink
Auto merge of #12024 - weihanglo:ci, r=epage
Browse files Browse the repository at this point in the history
CI: use `-p` to specify workspace members instead of `--manifest-path`
  • Loading branch information
bors committed Apr 24, 2023
2 parents 1c14e10 + 632ec43 commit 3862b01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- run: rustup update stable && rustup default stable
- run: rustup component add rustfmt
- run: cargo fmt --all --check
- run: cargo fmt --all --check --manifest-path crates/resolver-tests/Cargo.toml

# Ensure there are no clippy warnings
clippy:
Expand Down Expand Up @@ -152,7 +151,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup update stable && rustup default stable
- run: cargo test --manifest-path crates/resolver-tests/Cargo.toml
- run: cargo test -p resolver-tests

test_gitoxide:
runs-on: ubuntu-latest
Expand Down
6 changes: 3 additions & 3 deletions src/doc/build-man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ OPTIONS="--url https://doc.rust-lang.org/cargo/commands/ \
--man rustc:1=https://doc.rust-lang.org/rustc/index.html \
--man rustdoc:1=https://doc.rust-lang.org/rustdoc/index.html"

cargo run --manifest-path=../../crates/mdman/Cargo.toml -- \
cargo run -p mdman -- \
-t md -o src/commands man/cargo*.md \
$OPTIONS

cargo run --manifest-path=../../crates/mdman/Cargo.toml -- \
cargo run -p mdman -- \
-t txt -o man/generated_txt man/cargo*.md \
$OPTIONS

cargo run --manifest-path=../../crates/mdman/Cargo.toml -- \
cargo run -p mdman -- \
-t man -o ../etc/man man/cargo*.md \
$OPTIONS

0 comments on commit 3862b01

Please sign in to comment.