Skip to content

Commit 0344199

Browse files
author
Stephan Dilly
authored
use new resolver in CI (#649)
1 parent d53377a commit 0344199

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/cd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
profile: minimal
2828
components: clippy
2929

30+
- name: New Resolver
31+
if: matrix.rust != '1.50'
32+
run: |
33+
cargo install cargo-modify
34+
cargo modify new-resolver
35+
3036
- name: Build
3137
run: cargo build
3238
- name: Run tests

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
profile: minimal
4646
components: clippy
4747

48+
- name: New Resolver
49+
if: matrix.rust != '1.50'
50+
run: |
51+
cargo install cargo-modify
52+
cargo modify new-resolver
53+
4854
- name: Build Debug
4955
run: |
5056
cargo build
@@ -92,6 +98,14 @@ jobs:
9298
profile: minimal
9399
default: true
94100
target: x86_64-unknown-linux-musl
101+
102+
# TODO: remove once we depend on 1.51 as a msrv and resolver is supported by default
103+
- name: New Resolver
104+
if: matrix.rust != '1.50'
105+
run: |
106+
cargo install cargo-modify
107+
cargo modify new-resolver
108+
95109
- name: Setup MUSL
96110
run: |
97111
sudo apt-get -qq install musl-tools

0 commit comments

Comments
 (0)