Skip to content

Commit 342f92d

Browse files
timabellclaude
andcommitted
ci: Speed up CI by using pre-built cargo-deny and cargo-machete
Switch from `cargo install` (compiles from source, ~2-3 min each) to `taiki-e/install-action@v2` (downloads pre-built binaries, seconds). Matches the approach used in markdown-neuraxis. Prompts: - "cargo deny is slow, can we speed it up, seems to be installing it every time" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b3289b8 commit 342f92d

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/_ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
with:
3131
toolchain: ${{ needs.get-rust-version.outputs.rust-version }}
3232
- name: Install cargo-deny
33-
run: cargo install cargo-deny
33+
uses: taiki-e/install-action@v2
34+
with:
35+
tool: cargo-deny
3436
- name: Check Licenses
3537
run: cargo deny check licenses
3638

@@ -43,7 +45,9 @@ jobs:
4345
with:
4446
toolchain: ${{ needs.get-rust-version.outputs.rust-version }}
4547
- name: Install cargo-machete
46-
run: cargo install cargo-machete
48+
uses: taiki-e/install-action@v2
49+
with:
50+
tool: cargo-machete
4751
- name: Check for unused dependencies
4852
run: cargo machete
4953

0 commit comments

Comments
 (0)