Skip to content

Commit cbd9389

Browse files
committed
Enable clippy in CI.
1 parent 65afff4 commit cbd9389

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ci/script.sh

+8
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ main() {
3131
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
3232
./check-blobs.sh
3333
fi
34+
35+
if [ $TRAVIS_RUST_VERSION = nightly ]; then
36+
# Get the latest nightly with a working clippy
37+
rustup toolchain uninstall nightly
38+
rustup set profile default
39+
rustup default nightly
40+
cargo clippy --target $TARGET
41+
fi
3442
}
3543

3644
main

0 commit comments

Comments
 (0)