Introduce cargo-machete ci step

This commit is contained in:
Lukas Wirth 2025-12-25 10:38:05 +01:00
parent 51d133b75f
commit af45994feb
7 changed files with 6 additions and 9 deletions

View File

@ -122,6 +122,12 @@ jobs:
- name: Run tests
run: cargo nextest run --no-fail-fast --hide-progress-bar --status-level fail
- name: Install cargo-machete
uses: taiki-e/install-action@cargo-machete
- name: Run cargo-machete
run: cargo machete
- name: Run Clippy
if: matrix.os == 'macos-latest'
run: cargo clippy --all-targets -- -D clippy::disallowed_macros -D clippy::dbg_macro -D clippy::todo -D clippy::print_stdout -D clippy::print_stderr

4
Cargo.lock generated
View File

@ -821,7 +821,6 @@ dependencies = [
"intern",
"itertools 0.14.0",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"mbe",
"query-group-macro",
"ra-ap-rustc_abi",
"ra-ap-rustc_parse_format",
@ -1219,7 +1218,6 @@ dependencies = [
"hashbrown 0.14.5",
"rayon",
"rustc-hash 2.1.1",
"smallvec",
"triomphe",
]
@ -1882,7 +1880,6 @@ dependencies = [
"postcard",
"proc-macro-api",
"proc-macro-srv",
"tt",
]
[[package]]
@ -2782,7 +2779,6 @@ dependencies = [
"hir-expand",
"intern",
"paths",
"rustc-hash 2.1.1",
"span",
"stdx",
"test-utils",

View File

@ -40,7 +40,6 @@ intern.workspace = true
base-db.workspace = true
syntax.workspace = true
hir-expand.workspace = true
mbe.workspace = true
cfg.workspace = true
tt.workspace = true
span.workspace = true

View File

@ -18,7 +18,6 @@ dashmap.workspace = true
hashbrown.workspace = true
rustc-hash.workspace = true
triomphe.workspace = true
smallvec.workspace = true
rayon.workspace = true
[lints]

View File

@ -13,7 +13,6 @@ publish = false
[dependencies]
proc-macro-srv.workspace = true
proc-macro-api.workspace = true
tt.workspace = true
postcard.workspace = true
clap = {version = "4.5.42", default-features = false, features = ["std"]}

View File

@ -10,7 +10,6 @@ cargo-fuzz = true
[dependencies]
syntax = { path = "..", version = "0.0.0" }
text-edit = { path = "../../text-edit", version = "0.0.0" }
libfuzzer-sys = "0.4.5"
# Prevent this from interfering with workspaces

View File

@ -14,7 +14,6 @@ test-utils.workspace = true
tt.workspace = true
cfg.workspace = true
base-db.workspace = true
rustc-hash.workspace = true
span.workspace = true
stdx.workspace = true
intern.workspace = true