Skip to content

Commit 160cb4f

Browse files
committed
ci: fix dtolnay/rust-toolchain missing toolchain input across all workflows
1 parent a805c99 commit 160cb4f

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ jobs:
138138

139139
- name: Install Rust toolchain
140140
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
141-
with:
142-
toolchain: stable
143141
with:
144142
toolchain: stable
145143
components: clippy
@@ -183,8 +181,6 @@ jobs:
183181

184182
- name: Install Rust toolchain
185183
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
186-
with:
187-
toolchain: stable
188184
with:
189185
toolchain: stable
190186
components: rustfmt
@@ -216,8 +212,6 @@ jobs:
216212
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
217213
with:
218214
toolchain: stable
219-
with:
220-
toolchain: stable
221215

222216
- name: Configure sccache
223217
uses: mozilla-actions/sccache-action@676c0e67b665684f17941acf5cc3af83bcf10228 # v0.0.6
@@ -266,8 +260,6 @@ jobs:
266260
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
267261
with:
268262
toolchain: stable
269-
with:
270-
toolchain: stable
271263

272264
- name: Configure sccache
273265
uses: mozilla-actions/sccache-action@676c0e67b665684f17941acf5cc3af83bcf10228 # v0.0.6
@@ -328,8 +320,6 @@ jobs:
328320
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
329321
with:
330322
toolchain: stable
331-
with:
332-
toolchain: stable
333323

334324
- name: Install cargo-audit
335325
run: cargo install cargo-audit --locked
@@ -381,8 +371,6 @@ jobs:
381371
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
382372
with:
383373
toolchain: stable
384-
with:
385-
toolchain: stable
386374

387375
- name: Configure sccache
388376
uses: mozilla-actions/sccache-action@676c0e67b665684f17941acf5cc3af83bcf10228 # v0.0.6
@@ -464,8 +452,6 @@ jobs:
464452
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
465453
with:
466454
toolchain: stable
467-
with:
468-
toolchain: stable
469455

470456
- name: Install tarpaulin
471457
run: cargo install cargo-tarpaulin --locked

.github/workflows/quality-gates.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161

6262
- name: Install Rust toolchain
6363
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
64+
with:
65+
toolchain: stable
6466

6567
- name: Setup Rust cache
6668
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
@@ -115,6 +117,7 @@ jobs:
115117
- name: Install Rust toolchain
116118
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
117119
with:
120+
toolchain: stable
118121
components: clippy
119122

120123
- name: Setup Rust cache
@@ -157,6 +160,7 @@ jobs:
157160
- name: Install Rust toolchain
158161
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
159162
with:
163+
toolchain: stable
160164
components: rustfmt
161165

162166
- name: Check formatting
@@ -187,6 +191,8 @@ jobs:
187191

188192
- name: Install Rust toolchain
189193
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
194+
with:
195+
toolchain: stable
190196

191197
- name: Setup Rust cache
192198
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
@@ -243,6 +249,8 @@ jobs:
243249

244250
- name: Install Rust toolchain
245251
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
252+
with:
253+
toolchain: stable
246254

247255
- name: Setup Rust cache
248256
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
@@ -328,6 +336,8 @@ jobs:
328336

329337
- name: Install Rust toolchain
330338
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
339+
with:
340+
toolchain: stable
331341

332342
- name: Setup Rust cache
333343
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2
@@ -360,6 +370,8 @@ jobs:
360370

361371
- name: Install Rust toolchain
362372
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
373+
with:
374+
toolchain: stable
363375

364376
- name: Install cargo-audit
365377
run: cargo install cargo-audit --locked
@@ -418,6 +430,8 @@ jobs:
418430

419431
- name: Install Rust toolchain
420432
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
433+
with:
434+
toolchain: stable
421435

422436
- name: Install tools
423437
run: sudo apt-get update && sudo apt-get install -y jq

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ jobs:
265265
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
266266
with:
267267
toolchain: stable
268-
with:
269268
targets: ${{ matrix.target }}
270269

271270
- name: Setup Rust cache

.github/workflows/security.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
3434
with:
3535
toolchain: stable
36-
with:
37-
toolchain: stable
3836

3937
- name: Install cargo-audit
4038
run: cargo install cargo-audit --locked
@@ -91,8 +89,6 @@ jobs:
9189
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
9290
with:
9391
toolchain: stable
94-
with:
95-
toolchain: stable
9692

9793
- name: Install cargo-license
9894
run: cargo install cargo-license
@@ -149,8 +145,6 @@ jobs:
149145

150146
- name: Install Rust toolchain
151147
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
152-
with:
153-
toolchain: stable
154148
with:
155149
toolchain: stable
156150
components: clippy
@@ -209,8 +203,6 @@ jobs:
209203
uses: dtolnay/rust-toolchain@f7ccc83f9ed1e5b9c81d8a67d7ad1a747e22a561 # stable
210204
with:
211205
toolchain: stable
212-
with:
213-
toolchain: stable
214206

215207
- name: Install cargo-sbom
216208
run: cargo install cargo-sbom

0 commit comments

Comments
 (0)