From 45db236ec716c672415270debaaf621872e998b5 Mon Sep 17 00:00:00 2001 From: Skgland Date: Sat, 12 Mar 2022 19:02:34 +0100 Subject: [PATCH] add a CI job to verify msrv is still correct --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddb8e61d..db4801c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,3 +38,17 @@ jobs: with: command: test args: --verbose --all --no-default-features --features num + msrv: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04, macos-10.15] + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Install cargo-msrv + uses: baptiste0928/cargo-install@v1.1.0 + with: + crate: cargo-msrv + - name: Verify MSRV + run: cargo msrv --verify -- 2.54.0