use new resolver in CI (#649)

This commit is contained in:
Stephan Dilly 2021-04-20 00:23:07 +02:00 committed by GitHub
parent d53377aabb
commit 03441995b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View file

@ -27,6 +27,12 @@ jobs:
profile: minimal
components: clippy
- name: New Resolver
if: matrix.rust != '1.50'
run: |
cargo install cargo-modify
cargo modify new-resolver
- name: Build
run: cargo build
- name: Run tests

View file

@ -45,6 +45,12 @@ jobs:
profile: minimal
components: clippy
- name: New Resolver
if: matrix.rust != '1.50'
run: |
cargo install cargo-modify
cargo modify new-resolver
- name: Build Debug
run: |
cargo build
@ -92,6 +98,14 @@ jobs:
profile: minimal
default: true
target: x86_64-unknown-linux-musl
# TODO: remove once we depend on 1.51 as a msrv and resolver is supported by default
- name: New Resolver
if: matrix.rust != '1.50'
run: |
cargo install cargo-modify
cargo modify new-resolver
- name: Setup MUSL
run: |
sudo apt-get -qq install musl-tools