github-ci: running clippy with all features

Without it, it own't see the usage of variables in SCDebugLog macros,
etc.
pull/8073/head
Jason Ish 4 years ago committed by Victor Julien
parent 560c4ea125
commit a11f51f4d3

@ -66,12 +66,12 @@ jobs:
- run: ./scripts/bundle.sh - run: ./scripts/bundle.sh
- run: ./autogen.sh - run: ./autogen.sh
- run: ./configure - run: ./configure
- run: cargo clippy --fix - run: cargo clippy --all-features --fix
working-directory: rust working-directory: rust
- run: | - run: |
diff=$(git diff) diff=$(git diff)
if [ "${diff}" ]; then if [ "${diff}" ]; then
echo "::warning ::Clippy --fix made changes, please fix" echo "::warning ::Clippy --fix made changes, please fix"
fi fi
- run: cargo clippy - run: cargo clippy --all-features
working-directory: rust working-directory: rust

Loading…
Cancel
Save