Skip to content

Commit 5ea6640

Browse files
committed
Pin Clippy to nightly-2023-06-28
Until the following is resolved: rust-lang/rust#112628 (comment)
1 parent ff99505 commit 5ea6640

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
cargo install cargo-license || true
5454
cargo install cargo-modules || true
5555
cargo install cargo-sort || true
56+
# smoelius: Pin Clippy to nightly-2023-06-28 until the following is resolved:
57+
# https://github.com/rust-lang/rust/pull/112628#issuecomment-1616750719
58+
rustup toolchain install nightly-2023-06-28
59+
rustup +nightly-2023-06-28 component add clippy
5660
5761
- name: Install Foundry
5862
uses: foundry-rs/foundry-toolchain@v1

necessist/tests/ci.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,16 @@ fn update() {
279279

280280
fn clippy_command(cargo_args: &[&str], rustc_args: &[&str]) -> Command {
281281
// smoelius: The next command should match what's in scripts/clippy.sh.
282+
// smoelius: Pin Clippy to nightly-2023-06-28 until the following is resolved:
283+
// https://github.com/rust-lang/rust/pull/112628#issuecomment-1616750719
282284
let mut command = Command::new("cargo");
283285
command
284-
.args(["+nightly", "clippy", "--all-features", "--all-targets"])
286+
.args([
287+
"+nightly-2023-06-28",
288+
"clippy",
289+
"--all-features",
290+
"--all-targets",
291+
])
285292
.args(cargo_args)
286293
.args(["--"])
287294
.args(rustc_args)

0 commit comments

Comments
 (0)