build,ci: specify MSRV and setup CI

This commit is contained in:
oxalica 2025-09-11 18:46:25 -04:00
parent 59a8851b32
commit 10c1ad5170
6 changed files with 15 additions and 11 deletions

View file

@ -47,7 +47,8 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [stable, beta]
# NB: Sync MSRV with Cargo.toml!
rust: [stable, beta, "1.88"]
name: Test ${{ matrix.rust }}
# Need libsqlite3-dev >= 3.38.0 (2022-02-22)
runs-on: ubuntu-24.04
@ -64,7 +65,7 @@ jobs:
- name: Install Rust ${{ matrix.rust }}
run: |
rustup update --no-self-update ${{ matrix.rust }}
rustup update --no-self-update
rustup default ${{ matrix.rust }}
- name: Disable webapi tests on stable rustc
@ -80,9 +81,8 @@ jobs:
- name: Test
run: cargo test --workspace --all-targets
# WAIT: Next release of `criterion` for `--include-ignored`.
- name: Test ignored
run: cargo test --workspace --all-targets -- --ignored
run: cargo test --workspace --all-targets -- --ignored-ignored
nix-flake:
name: Flake package