Skip to content

Commit

Permalink
Move minimal-versions CI to dedicated job
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 4, 2023
1 parent 51ed1bb commit bdfb5c1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,18 @@ jobs:
run: cargo test
env:
RUSTFLAGS: -Z allow-features= ${{env.RUSTFLAGS}}
- run: cargo update -Z minimal-versions && cargo build

minimal:
name: Minimal versions
needs: pre_ci
if: needs.pre_ci.outputs.continue
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- run: cargo generate-lockfile -Z minimal-versions
- run: cargo check --locked

webassembly:
name: WebAssembly
Expand Down

0 comments on commit bdfb5c1

Please sign in to comment.