]> Repositorios git - scryer-prolog.git/commitdiff
add a CI job to verify msrv is still correct
authorSkgland <[email protected]>
Sat, 12 Mar 2022 18:02:34 +0000 (19:02 +0100)
committerSkgland <[email protected]>
Sat, 12 Mar 2022 18:23:34 +0000 (19:23 +0100)
.github/workflows/test.yml

index ddb8e61d775fa3a776ad3eeb29e6ccdca1b09af1..db4801c9f77a27a06fa5956a3c28ee59a8c15488 100644 (file)
@@ -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/[email protected]
+        with:
+          crate: cargo-msrv
+      - name: Verify MSRV
+        run: cargo msrv --verify