Skip to content

Commit 40ede3d

Browse files
committed
Remove matrix builds
Signed-off-by: Matthias Beyer <[email protected]>
1 parent abbd836 commit 40ede3d

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

.github/workflows/msrv.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,14 @@ jobs:
66
check:
77
name: Check
88
runs-on: ubuntu-latest
9-
strategy:
10-
matrix:
11-
rust:
12-
- 1.70.0
13-
149
steps:
1510
- name: Checkout sources
1611
uses: actions/[email protected]
1712

1813
- name: Install toolchain
1914
uses: dtolnay/rust-toolchain@master
2015
with:
21-
toolchain: ${{ matrix.rust }}
16+
toolchain: 1.70.0
2217

2318
- name: Cache
2419
uses: Swatinem/rust-cache@v2
@@ -48,18 +43,14 @@ jobs:
4843
needs: [check]
4944
name: Rustfmt
5045
runs-on: ubuntu-latest
51-
strategy:
52-
matrix:
53-
rust:
54-
- 1.70.0
5546
steps:
5647
- name: Checkout sources
5748
uses: actions/[email protected]
5849

5950
- name: Install toolchain
6051
uses: dtolnay/rust-toolchain@master
6152
with:
62-
toolchain: ${{ matrix.rust }}
53+
toolchain: 1.70.0
6354
components: rustfmt
6455

6556
- name: Run cargo fmt
@@ -70,23 +61,14 @@ jobs:
7061
needs: [check]
7162
name: Clippy
7263
runs-on: ubuntu-latest
73-
strategy:
74-
matrix:
75-
rust:
76-
# We run clippy only with our MSRV
77-
# Running newer clippy (or even from the current stable channel) would
78-
# randomly "break" our CI when the toolchain gets published in a new
79-
# version. So there's no point in running it with two or more
80-
# versions, MSRV should be fine.
81-
- 1.70.0
8264
steps:
8365
- name: Checkout sources
8466
uses: actions/[email protected]
8567

8668
- name: Install toolchain
8769
uses: dtolnay/rust-toolchain@master
8870
with:
89-
toolchain: ${{ matrix.rust }}
71+
toolchain: 1.70.0
9072
components: clippy
9173

9274
- name: Cache

0 commit comments

Comments
 (0)