From bbb8f74e394b6c2b4a86d4f9d7dd90463c5de7f2 Mon Sep 17 00:00:00 2001 From: messense Date: Tue, 30 Aug 2022 10:13:09 +0800 Subject: [PATCH] Add a MSRV CI job Currently targeting Rust 1.59.0 --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 639cefdda..c3603d82d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -399,3 +399,21 @@ jobs: with: name: wheels path: dist + + test-msrv: + name: Test MSRV + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: '1.59.0' + override: true + # Caching + - name: Cache cargo build + uses: Swatinem/rust-cache@v1 + with: + key: maturin-${{ runner.os }}-msrv + - name: cargo build + run: cargo build --all