Skip to content

Commit da322dc

Browse files
authored
test: verify MSRV in CI (#546)
1 parent 3f28edd commit da322dc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,23 @@ jobs:
7878
- uses: taiki-e/install-action@cargo-hack
7979
- name: clippy (all targets, feature powerset)
8080
run: cargo hack clippy --all-targets --feature-powerset -- -D warnings
81+
82+
msrv:
83+
name: Verify MSRV
84+
runs-on: ubuntu-latest
85+
strategy:
86+
matrix:
87+
rust:
88+
- stable
89+
steps:
90+
- uses: actions/checkout@v4
91+
- uses: dtolnay/rust-toolchain@v1
92+
with:
93+
toolchain: ${{ matrix.rust }}
94+
- name: Install cargo-msrv
95+
uses: baptiste0928/cargo-install@v2
96+
with:
97+
crate: cargo-msrv
98+
- uses: taiki-e/install-action@cargo-hack
99+
- name: verify msrv
100+
run: cargo msrv verify -- cargo hack --feature-powerset

0 commit comments

Comments
 (0)