From 69a8bdfeb526e5fb7b5d98987d61822b6d4c886a Mon Sep 17 00:00:00 2001 From: Kamyar Mohajerani Date: Sun, 1 Oct 2023 17:04:21 -0400 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d482db..790235a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,8 +37,6 @@ jobs: target: ${{ matrix.target }} toolchain: ${{ matrix.toolchain }} override: true - - name: Install cargo-msrv - run: cargo install cargo-msrv - name: Install dependencies (if necessary) run: ${{ matrix.deps }} - name: Minimal versions (if necessary) @@ -57,8 +55,6 @@ jobs: cargo test --target ${{ matrix.target }} --tests --no-default-features # all stable features: cargo test --target ${{ matrix.target }} --features=std,serde1,rayon - - name: Verify MSRV - run: cargo msrv verify test-no-std: runs-on: ubuntu-latest strategy: @@ -78,3 +74,18 @@ jobs: cargo build --target=thumbv6m-none-eabi cargo build --target=thumbv6m-none-eabi --features serde1 cargo build --target=thumbv6m-none-eabi --no-default-features --features serde1 + verify-msrv: + runs-on: ubuntu-latest + strategy: + fail-fast: false + steps: + - uses: actions/checkout@v3 + - name: Install toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + - name: Install cargo-msrv + run: cargo install cargo-msrv + - name: Verify MSRV + run: cargo msrv verify