Skip to content

Commit

Permalink
ci: format and use --all-targets to detect used deps (#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Dec 31, 2023
1 parent abf3bf4 commit 99ddb2d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Install udeps
run: cargo install cargo-udeps --locked
- name: Run udeps
run: cargo +nightly udeps
run: cargo +nightly udeps --all-targets

test:
name: Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Install udeps
run: cargo install cargo-udeps --locked
- name: Detect unused dependencies using udeps
run: cargo +nightly udeps
run: cargo +nightly udeps --all-targets

test:
name: Test
Expand Down
176 changes: 4 additions & 172 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions crates/biome_lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ tower-lsp = { version = "0.19.0" }
tracing = { workspace = true, features = ["attributes"] }

[dev-dependencies]
proptest = "1.0.0"
tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros"] }
tower = { version = "0.4.12", features = ["timeout"] }
tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros"] }
tower = { version = "0.4.12", features = ["timeout"] }

[lints]
workspace = true
12 changes: 6 additions & 6 deletions xtask/bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ biome_parser = { workspace = true }
biome_rowan = { workspace = true }


ansi_rgb = "0.2.0"
criterion = "0.5.1"
regex = "1.5.5"
ureq = "2.7.1"
url = "2.2.2"
codspeed-criterion-compat = { version = "2.3.3", optional = true}
ansi_rgb = "0.2.0"
codspeed-criterion-compat = { version = "2.3.3", optional = true }
criterion = "0.5.1"
regex = "1.5.5"
ureq = "2.7.1"
url = "2.2.2"

countme = { workspace = true }

Expand Down
Loading

0 comments on commit 99ddb2d

Please sign in to comment.