Skip to content

Commit f482ed3

Browse files
committed
Add CI job using minimal-versions
1 parent 79caf27 commit f482ed3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@ jobs:
6969
run: cargo check --manifest-path tests/crate/Cargo.toml --target ${{matrix.target}} --no-default-features --features alloc
7070
if: matrix.target
7171

72+
minimal:
73+
name: Minimal versions
74+
needs: pre_ci
75+
if: needs.pre_ci.outputs.continue
76+
runs-on: ubuntu-latest
77+
timeout-minutes: 45
78+
steps:
79+
- uses: actions/checkout@v3
80+
- uses: dtolnay/rust-toolchain@nightly
81+
- run: cargo generate-lockfile -Z minimal-versions
82+
- run: cargo check --locked
83+
7284
miri:
7385
name: Miri
7486
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)