File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,16 @@ jobs:
3838 strategy :
3939 matrix :
4040 os : [ ubuntu-latest, macos-latest, windows-latest ]
41+ # 1.56 is the MSRV
42+ rust-version : [ 1.56, stable ]
4143 fail-fast : false
4244 env :
4345 RUSTFLAGS : -D warnings
4446 steps :
4547 - uses : actions/checkout@v2
4648 - uses : actions-rs/toolchain@v1
4749 with :
48- toolchain : stable
50+ toolchain : ${{ matrix.rust-version }}
4951 override : true
5052 - uses : Swatinem/rust-cache@c5ed9ba6b7e1bb8aff90d43acd2f0af4990fa57c
5153 - name : Build
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ fn my_test(path: &Path) -> datatest_stable::Result<()> {
5454datatest_stable :: harness! (my_test , " path/to/fixtures" , r " ^.*/*" );
5555```
5656
57+ ## Minimum supported Rust version (MSRV)
58+
59+ The minimum supported Rust version is ** Rust 1.56** . MSRV bumps may be accompanied by a minor
60+ version update; at any time, at least the last 3 stable versions of Rust will be supported.
61+
5762## See also
5863
5964* [ ` datatest ` ] ( https://crates.io/crates/datatest ) : the original inspiration for this crate,
Original file line number Diff line number Diff line change 5151//! datatest_stable::harness!(my_test, "path/to/fixtures", r"^.*/*");
5252//! ```
5353//!
54+ //! # Minimum supported Rust version (MSRV)
55+ //!
56+ //! The minimum supported Rust version is **Rust 1.56**. MSRV bumps may be accompanied by a minor
57+ //! version update; at any time, at least the last 3 stable versions of Rust will be supported.
58+ //!
5459//! # See also
5560//!
5661//! * [`datatest`](https://crates.io/crates/datatest): the original inspiration for this crate,
You can’t perform that action at this time.
0 commit comments