mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
430b89c159
The clippy tests had to be run on nightly previously since it wasn't available with the stable compiler yet, however this had the potential to fail a lot since not all nightly builds offer clippy. Since clippy is now available for stable rust, moving clippy to a stable build should make sure that the failure rate of the CI job is cut down to a minimum. This fixes https://github.com/jwilm/alacritty/issues/2007.
6 lines
126 B
Bash
Executable file
6 lines
126 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Add clippy for linting with nightly builds
|
|
if [ "$CLIPPY" == "true" ]; then
|
|
rustup component add clippy
|
|
fi
|