hashes: Run clippy in ci

Currently we only run the linter in `bitcoin/contrib/test.sh`, we should
do the same in the `hashes` ci script.
This commit is contained in:
Tobin C. Harding 2022-11-30 14:43:56 +11:00
parent 5e67f7a7cb
commit b78ba730f2
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ export CARGO_TERM_VERBOSE=true
cargo build --all
cargo test --all
if [ "$DO_LINT" = true ]
then
cargo clippy --all-features --all-targets -- -D warnings
fi
if [ "$DO_FEATURE_MATRIX" = true ]; then
cargo build --all --no-default-features
cargo test --all --no-default-features