From 077c000344dd68a680ccab5a294f17095dab70ad Mon Sep 17 00:00:00 2001 From: SilverMira <66930495+SilverMira@users.noreply.github.com> Date: Sun, 24 Nov 2024 19:52:30 +0800 Subject: [PATCH] ci: librespot-core must have either one of the 2 rustls feature --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c90553e3..2e8f59c1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,8 +93,8 @@ jobs: - run: cargo install cargo-hack - run: cargo hack --workspace --remove-dev-deps - - run: cargo clippy -p librespot-core --no-default-features - - run: cargo clippy -p librespot-core + - run: cargo clippy -p librespot-core --no-default-features --features rustls-native-roots + - run: cargo clippy -p librespot-core --no-default-features --features rustls-webpki-roots - run: cargo hack clippy --each-feature -p librespot-discovery - run: cargo hack clippy --each-feature -p librespot-playback - run: cargo hack clippy --each-feature @@ -148,8 +148,8 @@ jobs: - run: cargo install cargo-hack - run: cargo hack --workspace --remove-dev-deps - - run: cargo check -p librespot-core --no-default-features - - run: cargo check -p librespot-core + - run: cargo check -p librespot-core --no-default-features --features rustls-native-roots + - run: cargo check -p librespot-core --no-default-features --features rustls-webpki-roots - run: cargo hack check --each-feature -p librespot-discovery - run: cargo hack check --each-feature -p librespot-playback - run: cargo hack check --each-feature