Add scripts/clippy.sh

The script makes it easier to manually check REPL and benchmark code
with clippy without the need to copy-paste all the flags.
This commit is contained in:
link2xt
2023-02-11 11:55:00 +00:00
parent 51ee564246
commit 1a49bc85b8
3 changed files with 6 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ jobs:
override: true
- name: Cache rust cargo artifacts
uses: swatinem/rust-cache@v2
- run: cargo clippy --workspace --tests --examples --benches -- -D warnings
- run: scripts/clippy.sh
docs:
name: Rust doc comments