mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-22 14:01:57 +03:00
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.
7 lines
126 B
Bash
Executable File
7 lines
126 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Add clippy for linting with nightly builds
|
|
if [ "$CLIPPY" == "true" ]; then
|
|
rustup component add clippy
|
|
fi
|