Skip to content

Commit 079400a

Browse files
committed
build: add clippy-msrv recipe
1 parent a49f055 commit 079400a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

justfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,18 @@ check-min:
4141
check-default:
4242
cargo hack --workspace check
4343

44-
# Run Clippy over workspace.
44+
# Check workspace.
4545
check: && clippy
46+
fd --hidden --type=file --extension=md --extension=yml --exec-batch npx -y prettier --check
4647

4748
# Run Clippy over workspace.
4849
clippy:
4950
cargo {{ toolchain }} clippy --workspace --all-targets {{ all_crate_features }}
5051

51-
# Test workspace using MSRV.
52-
test-msrv:
52+
# Run Clippy over workspace using MSRV.
53+
clippy-msrv:
5354
@just toolchain={{ msrv_rustup }} downgrade-for-msrv
54-
@just toolchain={{ msrv_rustup }} test
55+
@just toolchain={{ msrv_rustup }} clippy
5556

5657
# Test workspace code.
5758
test:
@@ -60,6 +61,11 @@ test:
6061
cargo {{ toolchain }} nextest run --no-tests=warn -p=actix-router --no-default-features
6162
cargo {{ toolchain }} nextest run --no-tests=warn --workspace --exclude=actix-web-codegen --exclude=actix-multipart-derive {{ all_crate_features }} --filter-expr="not test(test_reading_deflate_encoding_large_random_rustls)"
6263

64+
# Test workspace using MSRV.
65+
test-msrv:
66+
@just toolchain={{ msrv_rustup }} downgrade-for-msrv
67+
@just toolchain={{ msrv_rustup }} test
68+
6369
# Test workspace docs.
6470
test-docs: && doc
6571
cargo {{ toolchain }} test --doc --workspace {{ all_crate_features }} --no-fail-fast -- --nocapture

0 commit comments

Comments
 (0)