mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Improve 'cargo tree' check (#1200)
The '! cargo tree -i openssl-sys' command ignores when 'cargo tree' fails for other reasons than not depending on the openssl-sys crate. This commit changes the command to propagate such a failure.
This commit is contained in:
parent
b1b32e7717
commit
d6ea7bbbc4
1 changed files with 1 additions and 3 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -118,9 +118,7 @@ jobs:
|
|||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Check that rustls-tls feature doesn't depend on OpenSSL
|
||||
shell: bash
|
||||
run: |
|
||||
! cargo tree --package lychee --no-default-features --features rustls-tls -i openssl-sys
|
||||
run: test -z "$( cargo tree --package lychee --no-default-features --features rustls-tls --prefix none | sed -n '/^openssl-sys /p' )"
|
||||
- name: Run cargo check with default features
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue