name: Rust CI
on:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Run tests
run: cargo test --all-features --verbose
build:
strategy:
matrix:
rust:
- stable
- 1.75.0 # MSRV for linux distributions (>= Debian 12)
# - nightly # To keep the MSRV, we can't test with nightly as some downgraded crates fails to compile
platform:
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo build --all-features --verbose