File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 7979 toolchain : ${{ matrix.rust }}
8080 - uses : Swatinem/rust-cache@v2
8181 if : ${{ matrix.rust != 'nightly' }} # ineffective due to version key
82+ - uses : taiki-e/install-action@v2
83+ with :
84+ tool : cargo-minimal-versions,cargo-hack
8285 - name : Check
8386 run : |
8487 cargo check --all-targets --verbose --no-default-features --features "${{ matrix.features }}"
9497 # However, we can grant special exceptions for the Minimum Supported Rust Version
9598 # if there is a really good reason (like a dependency that requires a newer version).
9699 continue-on-error : false
100+ - name : Test (-Zminimal-versions)
101+ run :
102+ cargo minimal-versions test --all --verbose --no-default-features "${{ matrix.features }}"
97103 - name : rustdoc
98104 # Restrict to working on nightly/stable (old versions might have undefined types)
99105 if : ${{ matrix.rust == 'nightly' || matrix.rust == 'stable' }}
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
66
77## [ Unreleased]
88
9+ ### Fixes
10+ * ci: Check the tests pass with ` -Zminimal-versions `
11+
912## 2.8.1 - 2025-10-05
1013This fixes an accidental breaking change in the v2.8.0 release,
1114where the public API was changed from ` erased_serde v0.4 ` to ` erased_serde v0.3 ` .
@@ -21,7 +24,6 @@ I (@Techcable) apologize for this breakage and have yanked the 2.8.0 release due
2124 future version, but will be done so in a backwards compatible way.
2225 - Thanks to @demurgos for recognizing and fixing this in PR #359
2326- Ensure compatibility with ` -Zminimal-versions ` flag by specifying minimal dependency versions (fixes #357 )
24- - Not (yet) tested in CI
2527
2628## [ 2.8.0] - 2025-10-05
2729This is the biggest slog release since 2.0. It fully preserves compatibility with prior releases.
You can’t perform that action at this time.
0 commit comments