Skip to content

Commit 25e4742

Browse files
chore: update mise configuration with all CI tools
- Add specific versions for cargo tools (cargo-deny 0.19.0, cargo-llvm-cov 0.6, cargo-nextest 0.9.127, flamegraph 0.6) - Add actionlint for GitHub Actions linting - Add markdownlint-cli2 for markdown linting - Fix Rust version from 1.92 to 1.92.0 for consistency - Rename lint task to clippy - Add separate lint task for markdown and GitHub Actions - Update quality task to include markdownlint and actionlint
1 parent 8b8092d commit 25e4742

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.mise.toml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ RUST_BACKTRACE = "1"
1010

1111
# Tool versions
1212
[tools]
13+
actionlint = "latest"
14+
"cargo:cargo-deny" = "0.19.0"
15+
"cargo:cargo-llvm-cov" = "0.6"
16+
"cargo:cargo-nextest" = "0.9.127"
17+
"cargo:flamegraph" = "0.6"
18+
"npm:markdownlint-cli2" = "0.20.0"
1319
mdbook = "latest"
1420
rust = { version = "1.92", profile = "default" }
1521

@@ -23,7 +29,11 @@ description = "Check formatting without changes"
2329
run = "cargo fmt --all -- --check"
2430

2531
[tasks.lint]
26-
description = "Run clippy on workspace with all features"
32+
description = "Run markdown and GitHub Actions linting"
33+
run = "markdownlint-cli2 '**/*.md' && actionlint"
34+
35+
[tasks.clippy]
36+
description = "Run clippy linter"
2737
run = "cargo clippy --workspace --all-targets --all-features"
2838

2939
[tasks.test]
@@ -72,16 +82,12 @@ run = "cargo fmt --all -- --check && cargo clippy --workspace --all-targets && c
7282

7383
[tasks.quality]
7484
description = "Full quality check (format, lint, test, docs, wasm, deny)"
75-
run = "cargo fmt --all -- --check && cargo clippy --workspace --all-targets && cargo nextest run --profile ci --workspace && cargo doc --workspace --no-deps && cargo check --target wasm32-unknown-unknown -p cascette-crypto && cargo check --target wasm32-unknown-unknown -p cascette-formats && cargo deny check --all-features"
85+
run = "cargo fmt --all -- --check && cargo clippy --workspace --all-targets && cargo nextest run --profile ci --workspace && cargo doc --workspace --no-deps && cargo check --target wasm32-unknown-unknown -p cascette-crypto && cargo check --target wasm32-unknown-unknown -p cascette-formats && cargo deny check --all-features && markdownlint-cli2 '**/*.md' && actionlint"
7686

7787
[tasks.run-ribbit]
7888
description = "Run Ribbit server"
7989
run = "cargo run -p cascette-ribbit"
8090

81-
[tasks.bench-ribbit]
82-
description = "Run Ribbit server benchmarks"
83-
run = "cargo bench -p cascette-ribbit"
84-
8591
# Shell aliases (active in this directory)
8692
[shell_alias]
8793
gs = "git status"

0 commit comments

Comments
 (0)