Skip to content

Commit e695826

Browse files
committed
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 <[email protected]>
1 parent 0e2c866 commit e695826

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

.github/workflows/msrv.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
matrix:
1111
rust:
1212
- 1.70.0
13-
- 1.73.0 # stable
14-
- beta
1513

1614
steps:
1715
- name: Checkout sources
@@ -26,8 +24,7 @@ jobs:
2624
toolchain: ${{ matrix.rust }}
2725

2826
- name: Run cargo check
29-
continue-on-error: ${{ matrix.rust == 'beta' }}
30-
run: cargo check --all-features
27+
run: cargo check --all-features --examples --tests
3128

3229
test:
3330
needs: [check]
@@ -63,7 +60,6 @@ jobs:
6360
matrix:
6461
rust:
6562
- 1.70.0
66-
- beta
6763
steps:
6864
- name: Checkout sources
6965
uses: actions/[email protected]
@@ -107,27 +103,3 @@ jobs:
107103
- name: Run cargo clippy
108104
run: cargo clippy --all-targets --all-features -- -D warnings
109105

110-
check-examples:
111-
name: Check examples
112-
needs: [check]
113-
runs-on: ubuntu-latest
114-
strategy:
115-
matrix:
116-
rust:
117-
- 1.70.0
118-
119-
steps:
120-
- name: Checkout sources
121-
uses: actions/[email protected]
122-
123-
- name: Cache
124-
uses: Swatinem/rust-cache@v2
125-
126-
- name: Install toolchain
127-
uses: dtolnay/rust-toolchain@master
128-
with:
129-
toolchain: ${{ matrix.rust }}
130-
131-
- name: Run cargo check
132-
run: cargo check --examples
133-

0 commit comments

Comments
 (0)