Move MSRV checking to a separate step

This commit is contained in:
2025-01-18 11:22:08 +01:00
parent 8b69ba7835
commit e60dba2c25
4 changed files with 827 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ jobs:
strategy:
matrix:
rust:
- "1.70" # minimum stable rust version
- stable
- beta
- nightly
@@ -28,11 +27,25 @@ jobs:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy
# Make sure we test with recent deps
- run: cargo update
- run: cargo build --all-features --all-targets
- run: cargo test --all-features
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features --all-targets -- -D warnings
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: "1.70"
- run: cargo test --all-features
docs:
name: Documentation build
runs-on: ubuntu-latest