Skip to content

Commit

Permalink
chore: update check_core_before_commit.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Jan 13, 2025
1 parent e2c3ff3 commit bc73ca0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions check_code_before_commit.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

# Find unused dependencies in Cargo.toml
cargo +nightly udeps
Expand All @@ -6,7 +7,7 @@ cargo +nightly udeps
cargo sort

# Format code
cargo fmt
cargo +nightly fmt --all -- --check

# Clippy
cargo +nightly clippy --all-features -- -D warnings
cargo +nightly clippy --target wasm32-wasip1 --all-features -- -D warnings

0 comments on commit bc73ca0

Please sign in to comment.