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 e99862e commit 49dcb3f
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ jobs:
if: matrix.rust == 'nightly'
- run: cargo test
- run: cargo run --manifest-path benches/Cargo.toml
- run: cargo update -Z minimal-versions
if: matrix.rust == 'nightly'
- run: cargo build
if: matrix.rust == 'nightly'

msrv:
name: Rust 1.31.0
Expand All @@ -55,6 +51,18 @@ jobs:
components: rust-src
- run: cargo check

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

clippy:
name: Clippy
runs-on: ubuntu-latest
Expand Down

0 comments on commit 49dcb3f

Please sign in to comment.