From 10d31e0766fa6f3ad8aa4de9620ed7d106a4c6f9 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Tue, 10 Oct 2023 10:45:22 -0700 Subject: [PATCH] chore: Replace cargo-msrv with cargo check + specific version cargo-msrv verify gave passing return codes with invalid commands. I could not replicate this locally, so this PR changes the CI to do something that "just works". --- .github/workflows/tests.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1558715a..ee744890 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -83,16 +83,12 @@ jobs: strategy: matrix: rust: - - stable + - 1.71.0 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@v1 with: toolchain: ${{ matrix.rust }} - - name: Install cargo-msrv - uses: baptiste0928/cargo-install@v2 - with: - crate: cargo-msrv - uses: taiki-e/install-action@cargo-hack - - name: verify msrv - run: cargo msrv verify -- cargo hack --feature-powerset + - name: cargo check msrv + run: cargo hack check --feature-powerset