Skip to content

Commit f1bb2aa

Browse files
tottotoseanmonstar
authored andcommitted
chore(ci): add minimal versions checking
1 parent 931aee7 commit f1bb2aa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/CI.yml

+14
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- doc
2727
- check-external-types
2828
- udeps
29+
- minimal-versions
2930
steps:
3031
- run: exit 0
3132

@@ -272,3 +273,16 @@ jobs:
272273

273274
- name: Check unused dependencies on full features
274275
run: cargo udeps --features full
276+
277+
minimal-versions:
278+
runs-on: ubuntu-latest
279+
needs: [style]
280+
steps:
281+
- uses: actions/checkout@v4
282+
- uses: dtolnay/rust-toolchain@nightly
283+
- uses: dtolnay/rust-toolchain@stable
284+
- uses: taiki-e/install-action@cargo-hack
285+
- uses: taiki-e/install-action@cargo-minimal-versions
286+
- uses: Swatinem/rust-cache@v2
287+
- run: cargo minimal-versions check
288+
- run: cargo minimal-versions check --features full

0 commit comments

Comments
 (0)