ci: Do not install cargo machete by building it (#53607)

Re-building the tool on CI every time is pointless when can just install
the binary itself

Release Notes:

- N/A or Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth authored and GitHub committed 2026-04-10 10:01:12 +00:00
1 parent 2635ef55c6
commit 2d650da0dc
4 files changed
+15 -26

No files matched your search

+3 -6
View File
@@ -618,14 +618,11 @@ jobs:
cache: rust
path: ~/.rustup
- name: run_tests::check_dependencies::install_cargo_machete
uses: clechasseur/rs-cargo@8435b10f6e71c2e3d4d3b7573003a8ce4bfc6386
uses: taiki-e/install-action@02cc5f8ca9f2301050c0c099055816a41ee05507
with:
command: install
args: cargo-machete@0.7.0
tool: cargo-machete@0.7.0
- name: run_tests::check_dependencies::run_cargo_machete
uses: clechasseur/rs-cargo@8435b10f6e71c2e3d4d3b7573003a8ce4bfc6386
with:
command: machete
run: cargo machete
- name: run_tests::check_dependencies::check_cargo_lock
run: cargo update --locked --workspace
- name: run_tests::check_dependencies::check_vulnerable_dependencies