-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: test MSRV and minimal versions; also fix thiserror min version (#624
- Loading branch information
1 parent
9e19bc9
commit a7ab035
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,20 @@ jobs: | |
with: | ||
command: build | ||
|
||
build_msrv: | ||
name: build with MSRV (1.66.1) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
# Re-resolve Cargo.lock with minimal versions | ||
- uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo update -Z minimal-versions | ||
# Now check that `cargo build` works with respect to the oldest possible | ||
# deps and the stated MSRV | ||
- uses: dtolnay/[email protected] | ||
- run: cargo build --all-features | ||
|
||
build_all_features: | ||
name: build with all features combinations | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters