summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2023-10-26 14:15:05 +0200
committerMatthias Beyer <mail@beyermatthias.de>2023-10-26 14:41:01 +0200
commit3d4abee15952e9c3c587fdc583da98d73e1d82a6 (patch)
tree6293cf0620ee0acac280ad1bc5d7b3d0966d9603
parent5dfee767103d0fc85f91150b94c6bfff7a7c878a (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.yml30
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
-