Skip to content

Commit

Permalink
Run tests only with current stable toolchain
Browse files Browse the repository at this point in the history
This saves a bit of execution time.
There's no point in running MSRV and stable, because there shouldn't be
a difference. So we opt for stable because it tends to be faster.

Signed-off-by: Matthias Beyer <[email protected]>
  • Loading branch information
matthiasbeyer committed Feb 1, 2024
1 parent 20f0774 commit abbd836
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/msrv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,19 @@ jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.70.0
- 1.73.0 # stable
- beta
steps:
- name: Checkout sources
uses: actions/[email protected]

- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
toolchain: 1.73.0

- name: Cache
uses: Swatinem/rust-cache@v2

- name: Run cargo test
continue-on-error: ${{ matrix.rust == 'beta' }}
run: cargo test --all-features

fmt:
Expand Down

0 comments on commit abbd836

Please sign in to comment.