diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2023-10-26 14:15:05 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2024-02-01 07:38:06 +0100 |
commit | e695826e7ca890824390728b68e5581921ac9e0d (patch) | |
tree | 49c80c557aa9e054cf96f916e7a9c2b538b4037e | |
parent | 0e2c8668e2872269902672df80048209d817aa0b (diff) |
Remove dedicated example checking, non-MSRV checking
This is another attempt at increasing the CI speed. It does so by
removin the dedicated example checking phase, by putting all checks in
one phase (examples, tests) and run that phase only for MSRV.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | .github/workflows/msrv.yml | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 1df22cb..52d3854 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -10,8 +10,6 @@ jobs: matrix: rust: - 1.70.0 - - 1.73.0 # stable - - beta steps: - name: Checkout sources @@ -26,8 +24,7 @@ jobs: toolchain: ${{ matrix.rust }} - name: Run cargo check - continue-on-error: ${{ matrix.rust == 'beta' }} - run: cargo check --all-features + run: cargo check --all-features --examples --tests test: needs: [check] @@ -63,7 +60,6 @@ jobs: matrix: rust: - 1.70.0 - - beta steps: - name: Checkout sources uses: actions/checkout@v4.1.1 @@ -107,27 +103,3 @@ jobs: - name: Run cargo clippy run: cargo clippy --all-targets --all-features -- -D warnings - check-examples: - name: Check examples - needs: [check] - runs-on: ubuntu-latest - strategy: - matrix: - rust: - - 1.70.0 - - steps: - - name: Checkout sources - uses: actions/checkout@v4.1.1 - - - name: Cache - uses: Swatinem/rust-cache@v2 - - - name: Install toolchain - uses: dtolnay/rust-toolchain@master - with: - toolchain: ${{ matrix.rust }} - - - name: Run cargo check - run: cargo check --examples - |