mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
install and use stable toolchain for cargo-hack installation
This commit is contained in:
parent
2a6d7545ca
commit
49a0c09498
1 changed files with 5 additions and 1 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -174,6 +174,10 @@ jobs:
|
|||
- name: Install NASM
|
||||
uses: ilammy/setup-nasm@v1.5.1
|
||||
|
||||
- name: Install stable toolchain for cargo-hack
|
||||
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain stable -y
|
||||
if: ${{ matrix.toolchain != 'stable' }}
|
||||
|
||||
- name: Install toolchain
|
||||
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
|
||||
|
||||
|
@ -196,7 +200,7 @@ jobs:
|
|||
- run: cargo build --frozen --workspace --examples
|
||||
- run: cargo test --workspace
|
||||
|
||||
- run: cargo install cargo-hack
|
||||
- run: cargo +stable install cargo-hack
|
||||
- run: cargo hack --workspace --remove-dev-deps
|
||||
- run: cargo check --no-default-features
|
||||
- run: cargo check
|
||||
|
|
Loading…
Reference in a new issue