Skip to content

Commit c86a477

Browse files
committed
ci: Add minimal-versions check
1 parent f3b9203 commit c86a477

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
- name: Install Rust
4949
# --no-self-update is necessary because the windows environment cannot self-update rustup.exe.
5050
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
51-
- name: Install cargo-hack
51+
- name: Install cargo-hack and cargo-minimal-versions
5252
uses: taiki-e/install-action@v2
5353
with:
54-
tool: cargo-hack
54+
tool: cargo-hack,cargo-minimal-versions
5555
- run: cargo build --all --all-features --all-targets
5656
- run: cargo hack build --feature-powerset --no-dev-deps
5757
- name: Add rust-src
@@ -60,6 +60,7 @@ jobs:
6060
- name: Check ESP-IDF
6161
if: startsWith(matrix.rust, 'nightly') && startsWith(matrix.os, 'ubuntu')
6262
run: cargo check -Z build-std --target riscv32imc-esp-espidf
63+
- run: cargo minimal-versions build --all --all-features
6364
- run: cargo test
6465

6566
# Copied from: https://github.com/rust-lang/stacker/pull/19/files

0 commit comments

Comments
 (0)