File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
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
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' }}
You can’t perform that action at this time.
0 commit comments