mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
Introduce cargo-machete ci step
This commit is contained in:
parent
51d133b75f
commit
af45994feb
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -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
4
Cargo.lock
generated
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
@ -18,7 +18,6 @@ dashmap.workspace = true
|
||||
hashbrown.workspace = true
|
||||
rustc-hash.workspace = true
|
||||
triomphe.workspace = true
|
||||
smallvec.workspace = true
|
||||
rayon.workspace = true
|
||||
|
||||
[lints]
|
||||
|
||||
@ -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"]}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user