File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,31 @@ jobs:
55
55
profile : default
56
56
override : true
57
57
58
+ # Install nightly which is required for supporting `-Z minimal-versions`
59
+ # https://github.com/rust-lang/cargo/issues/5657
60
+ - name : " Install Rust nightly"
61
+ uses : actions-rs/toolchain@v1
62
+ with :
63
+ toolchain : nightly
64
+ profile : minimal
65
+
58
66
- uses : Swatinem/rust-cache@v2
59
67
60
68
- uses : taiki-e/install-action@v1
61
69
with :
62
70
tool : nextest
63
71
72
+ # Install the minimal versions this package says it supports
73
+ # https://users.rust-lang.org/t/psa-please-specify-precise-dependency-versions-in-cargo-toml/71277
74
+ # https://github.com/rust-lang/cargo/issues/5657
75
+ - name : " Install minimal package versions"
76
+ uses : actions-rs/cargo@v1
77
+ with :
78
+ command : update
79
+ toolchain : nightly
80
+ env :
81
+ RUSTFLAGS : -Zminimal-versions
82
+
64
83
- name : " Cargo ${{ matrix.cargo.name }}"
65
84
uses : actions-rs/cargo@v1
66
85
with :
You can’t perform that action at this time.
0 commit comments