Skip to content

Commit bdfb5c1

Browse files
committed
Move minimal-versions CI to dedicated job
1 parent 51ed1bb commit bdfb5c1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,18 @@ jobs:
7474
run: cargo test
7575
env:
7676
RUSTFLAGS: -Z allow-features= ${{env.RUSTFLAGS}}
77-
- run: cargo update -Z minimal-versions && cargo build
77+
78+
minimal:
79+
name: Minimal versions
80+
needs: pre_ci
81+
if: needs.pre_ci.outputs.continue
82+
runs-on: ubuntu-latest
83+
timeout-minutes: 45
84+
steps:
85+
- uses: actions/checkout@v3
86+
- uses: dtolnay/rust-toolchain@nightly
87+
- run: cargo generate-lockfile -Z minimal-versions
88+
- run: cargo check --locked
7889

7990
webassembly:
8091
name: WebAssembly

0 commit comments

Comments
 (0)