File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -55,12 +55,26 @@ 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
+ run : cargo +nightly -Z minimal-versions update
77
+
64
78
- name : " Cargo ${{ matrix.cargo.name }}"
65
79
uses : actions-rs/cargo@v1
66
80
with :
You can’t perform that action at this time.
0 commit comments