chore: Attempt to fix missing `cargo binstall` command error in CI

This commit is contained in:
Mikolaj Wielgus 2025-09-15 15:52:36 +02:00
parent 1ba0b47cef
commit 73080fb320
1 changed files with 3 additions and 1 deletions

View File

@ -28,8 +28,10 @@ steps:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
commands: commands:
- apt-get -y install curl
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
- cargo binstall --no-confirm cargo-nextest
- rustup default "$CHANNEL" - rustup default "$CHANNEL"
- cargo binstall cargo-nextest --secure
- cargo nextest -j4 --verbose --no-default-features --features "$FEATURES" - cargo nextest -j4 --verbose --no-default-features --features "$FEATURES"
when: when:
event: [pull_request, push, tag] event: [pull_request, push, tag]