Skip to content

Commit b9b4546

Browse files
authored
Minor workflow simplification (#25870)
## Summary `install-action` documents that you can install multiple tools with one action invocation like this, so there was some minor unnecessary complexity here
1 parent 1e77ba0 commit b9b4546

2 files changed

Lines changed: 8 additions & 12 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,14 +322,12 @@ jobs:
322322
run: rustup show
323323
- name: "Install mold"
324324
uses: rui314/setup-mold@9c9c13bf4c3f1adef0cc596abc155580bcb04444 # v1
325-
- name: "Install cargo nextest"
326-
uses: taiki-e/install-action@25435dc8dd3baed7417e0c96d3fe89013a5b2e09 # v2.81.3
327-
with:
328-
tool: cargo-nextest
329-
- name: "Install cargo insta"
325+
- name: "Install cargo nextest and insta"
330326
uses: taiki-e/install-action@25435dc8dd3baed7417e0c96d3fe89013a5b2e09 # v2.81.3
331327
with:
332-
tool: cargo-insta
328+
tool: |
329+
cargo-nextest
330+
cargo-insta
333331
- name: "Install uv"
334332
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
335333
with:

‎.github/workflows/sync_typeshed.yaml‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,12 @@ jobs:
267267
run: rustup show
268268
- name: "Install mold"
269269
uses: rui314/setup-mold@9c9c13bf4c3f1adef0cc596abc155580bcb04444 # v1
270-
- name: "Install cargo nextest"
270+
- name: "Install cargo nextest and insta"
271271
uses: taiki-e/install-action@25435dc8dd3baed7417e0c96d3fe89013a5b2e09 # v2.81.3
272272
with:
273-
tool: cargo-nextest
274-
- name: "Install cargo insta"
275-
uses: taiki-e/install-action@25435dc8dd3baed7417e0c96d3fe89013a5b2e09 # v2.81.3
276-
with:
277-
tool: cargo-insta
273+
tool: |
274+
cargo-nextest
275+
cargo-insta
278276
- name: Update snapshots
279277
# Snapshot failures are force-passed by cargo-insta, but other tests might still fail
280278
# in this test, causing the step overall to fail. We want to continue to later steps

0 commit comments

Comments
 (0)