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:
parent
5e67f7a7cb
commit
b78ba730f2
|
@ -22,6 +22,11 @@ export CARGO_TERM_VERBOSE=true
|
||||||
cargo build --all
|
cargo build --all
|
||||||
cargo test --all
|
cargo test --all
|
||||||
|
|
||||||
|
if [ "$DO_LINT" = true ]
|
||||||
|
then
|
||||||
|
cargo clippy --all-features --all-targets -- -D warnings
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$DO_FEATURE_MATRIX" = true ]; then
|
if [ "$DO_FEATURE_MATRIX" = true ]; then
|
||||||
cargo build --all --no-default-features
|
cargo build --all --no-default-features
|
||||||
cargo test --all --no-default-features
|
cargo test --all --no-default-features
|
||||||
|
|
Loading…
Reference in New Issue