diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ebe0a6..e53a65c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,6 @@ jobs: matrix: toolchain: - stable - - "1.65" runs-on: ubuntu-latest steps: # Get a checkout and rust toolchain. @@ -27,7 +26,26 @@ jobs: toolchain: ${{matrix.toolchain}} override: true - # Build and test + # Build and test. - run: cargo +${{matrix.toolchain}} build - run: cargo +${{matrix.toolchain}} test - run: cargo +${{matrix.toolchain}} bench --no-run + + build: + name: Build, MSRV + strategy: + matrix: + toolchain: + - "1.65" + runs-on: ubuntu-latest + steps: + # Get a checkout and rust toolchain. + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{matrix.toolchain}} + override: true + + # Build. + - run: cargo +${{matrix.toolchain}} build