Switch from cargo-machete to cargo-shear (#62643)
This results in ~110 crates being removed, and some orphaned files also. --- Release Notes: - N/A Signed-off-by: Neel <neel@zed.dev>
This commit is contained in:
105 files changed
+120
-475
No files matched your search
@@ -51,17 +51,17 @@ jobs:
|
||||
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
|
||||
with:
|
||||
version: '9'
|
||||
- name: autofix_pr::run_autofix::install_cargo_machete
|
||||
- name: autofix_pr::run_autofix::install_cargo_shear
|
||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||
uses: taiki-e/install-action@a6b2e2dcd845ddd7f509ce4f3ed3d922b80cc5d9
|
||||
with:
|
||||
tool: cargo-machete@0.7.0
|
||||
tool: cargo-shear@1.13.4
|
||||
- name: autofix_pr::run_autofix::run_cargo_fix
|
||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||
run: cargo fix --workspace --allow-dirty --allow-staged
|
||||
- name: autofix_pr::run_autofix::run_cargo_machete_fix
|
||||
- name: autofix_pr::run_autofix::run_cargo_shear_fix
|
||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||
run: cargo machete --fix
|
||||
run: cargo shear --fix
|
||||
- name: autofix_pr::run_autofix::run_clippy_fix
|
||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||
run: cargo clippy --workspace --fix --allow-dirty --allow-staged
|
||||
|
||||
@@ -698,12 +698,12 @@ jobs:
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
- name: run_tests::check_dependencies::install_cargo_machete
|
||||
- name: run_tests::check_dependencies::install_cargo_shear
|
||||
uses: taiki-e/install-action@a6b2e2dcd845ddd7f509ce4f3ed3d922b80cc5d9
|
||||
with:
|
||||
tool: cargo-machete@0.7.0
|
||||
- name: run_tests::check_dependencies::run_cargo_machete
|
||||
run: cargo machete
|
||||
tool: cargo-shear@1.13.4
|
||||
- name: run_tests::check_dependencies::run_cargo_shear
|
||||
run: cargo shear --locked --deny-warnings
|
||||
- name: run_tests::check_dependencies::check_cargo_lock
|
||||
run: cargo update --locked --workspace
|
||||
- name: run_tests::check_dependencies::check_crate_graph
|
||||
|
||||
Reference in new issue
Block a user