From ca92302e059993fa8d27f558918d4a0baf60db5e Mon Sep 17 00:00:00 2001 From: tison Date: Mon, 21 Oct 2024 12:39:30 +0800 Subject: [PATCH] ci: guard MSRV build 1.76.0 Signed-off-by: tison --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6cf8ddc..581ebc5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,11 +49,16 @@ jobs: run: cargo fmt --all --check test: + strategy: + matrix: + rust-version: ["1.76.0", "stable"] name: Build and test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 + - name: Delete rust-toolchain.toml + run: rm rust-toolchain.toml - run: cargo build --workspace --all-features --bins --tests --examples --benches - name: Run tests run: cargo test --workspace -- --nocapture