mirror of
https://github.com/lexmount/moli.git
synced 2026-10-01 16:00:44 +00:00
Skip Rust checks for non-Rust changes
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
Before committing changes, run all of the following from the repository root and ensure they pass:
|
||||
Before committing changes that modify Rust source code or Rust build metadata
|
||||
(such as `Cargo.toml`, `Cargo.lock`, or `rust-toolchain`), run all of the
|
||||
following from the repository root and ensure they pass:
|
||||
|
||||
```sh
|
||||
cargo fmt --all
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
cargo nextest run --no-fail-fast
|
||||
```
|
||||
|
||||
These commands are not required when the change set contains no Rust source or
|
||||
Rust build metadata changes.
|
||||
|
||||
Reference in New Issue
Block a user