Fix cargo shear warnings (#64340)
Also updates CI to always run this - that way we ensure that disabling or enabling tests does not become stale at some point and thus can safely add this. Release Notes: - N/A - [GPUI] N/A
This commit is contained in:
1 parent
eb55524b57
commit
20d55798db
159 files changed
+226
-38
No files matched your search
@@ -61,7 +61,7 @@ jobs:
|
||||
run: cargo fix --workspace --allow-dirty --allow-staged
|
||||
- name: autofix_pr::run_autofix::run_cargo_shear_fix
|
||||
if: inputs.run_clippy == true || inputs.run_clippy == 'true'
|
||||
run: cargo shear --fix
|
||||
run: cargo shear --fix --check-test-targets
|
||||
- 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
|
||||
|
||||
@@ -707,7 +707,7 @@ jobs:
|
||||
with:
|
||||
tool: cargo-shear@1.13.4
|
||||
- name: run_tests::check_dependencies::run_cargo_shear
|
||||
run: cargo shear --locked --deny-warnings
|
||||
run: cargo shear --locked --deny-warnings --check-test-targets
|
||||
- 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