diff --git a/.github/scripts/cargo-clippy.sh b/.github/scripts/cargo-clippy.sh index ccbfddd..3742de6 100755 --- a/.github/scripts/cargo-clippy.sh +++ b/.github/scripts/cargo-clippy.sh @@ -5,7 +5,8 @@ set -e repo_root=$(git rev-parse --show-toplevel) # shellcheck disable=SC1091 -source "$repo_root/.github/scripts/rust-version.sh" nightly >/dev/null +source "$repo_root/.github/scripts/rust-version.sh" stable >/dev/null -rustup component add clippy --toolchain="$rust_nightly" -cargo +"$rust_nightly" clippy +rustup component add clippy --toolchain="$rust_stable" + +cargo +"$rust_stable" clippy