-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.mise.toml
More file actions
20 lines (18 loc) · 790 Bytes
/
.mise.toml
File metadata and controls
20 lines (18 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[tools]
rust = { version = "1.93.0", profile = "minimal", components = "rustfmt,clippy" } # the rust tool stack (with cargo, fmt, clippy) to build source
# "aqua:cargo-bins/cargo-binstall" = "1" # do not use cargo-binstall (it's a special name used by mise)
java = "21" # require by jreleaser
jreleaser = "1.9"
[tasks.ci]
description = "run tests and lint (like CI)"
run = [
"cargo fmt --check --all",
"cargo clippy --workspace --all-features --all-targets -- --deny warnings --deny deprecated --allow unknown-lints",
"cargo test",
]
[tasks.autofix]
description = "auto-fix lint warnings and format code"
run = [
"cargo clippy --fix --allow-dirty --workspace --all-features --all-targets -- --deny warnings --deny deprecated --allow unknown-lints",
"cargo fmt --all",
]