chore: update lint alias
MODIFY
.cargo/config.toml
.cargo/config.toml
[alias]
-lint = "clippy --workspace --all-targets --verbose -- --deny warnings"
+lint = "clippy --workspace --all-targets --verbose -- --deny warnings -W clippy::cargo -W clippy::dbg_macro -A clippy::cargo_common_metadata"
format = "fmt --all --verbose"
codegen = "run -p xtask_codegen --"
codegen-configuration = "run -p xtask_codegen --features configuration -- configuration"

MODIFY
.github/workflows/main.yml
.github/workflows/main.yml
@@ -54,8 +54,7 @@ jobs:
- name: Run clippy
uses: actions-rs/cargo@v1
with:
- command: clippy
- args: --workspace --all-targets --verbose -- --deny warnings -W clippy::cargo -W clippy::dbg_macro -A clippy::cargo_common_metadata
+ command: lint
check-dependencies:
name: Check Dependencies

chore: update lint alias (#3899)