mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-09 15:45:33 +00:00
ci,contrib: check unused deps via cargo-machete
This commit is contained in:
parent
0bfdad3877
commit
71c5f038fa
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
typos
|
||||
cargo fmt -- --check
|
||||
fd -e nix | xargs nixfmt --check
|
||||
if ! out="$(cargo machete 2>/dev/null)"; then
|
||||
echo "$out"
|
||||
exit 1
|
||||
fi
|
||||
typos
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue