@@ -118,26 +118,26 @@ jobs:
118
118
run : cargo doc --no-deps --all-features
119
119
120
120
msrv :
121
- name : Minimum Supported Rust Version
121
+ name : Minimum Supported Rust Version, based on min dependency versions
122
122
runs-on : ubuntu-latest
123
123
steps :
124
- - name : Checkout sources
125
- uses : actions/checkout@v4
124
+ - uses : actions/checkout@v4
125
+
126
+ - name : Install nightly toolchain
127
+ uses : dtolnay/rust-toolchain@nightly
126
128
127
- - name : Install cargo-binstall
129
+ - name : Install dependencies
128
130
uses : taiki-e/install-action@v2
129
131
with :
130
- tool : cargo-binstall
132
+ tool : cargo-hack, cargo-minimal-versions, cargo- binstall
131
133
132
134
- name : Install cargo-msrv
133
- run : cargo binstall --version 0.16.0-beta.20 --no-confirm cargo-msrv
134
-
135
- # - uses: Swatinem/rust-cache@v1
135
+ run : cargo binstall --version 0.16.0-beta.22 --no-confirm cargo-msrv
136
136
137
- - name : Check MSRV
138
- # run: cargo msrv --log-target=stdout --log-level debug --output-format json --all-features --target=thumbv7em-none-eabihf
139
- # run: cargo msrv --log-target=stdout --log-level debug --output-format json --all-features --target=thumbv7em-none-eabihf verify
140
- run : cargo msrv --output-format json --all-features --target= thumbv7em-none-eabihf verify
137
+ - name : Check with minimal versions
138
+ # To find out the current MSRV, remove the `rust-version` entry from `Cargo.toml` and run:
139
+ # run: cargo minimal-versions msrv --output-format json --all-features --target=thumbv7em-none-eabihf --log-target=stdout --log-level debug
140
+ run : cargo minimal-versions msrv --output-format json --all-features --target thumbv7em-none-eabihf verify
141
141
142
142
semver :
143
143
name : Semantic Versioning
0 commit comments