Skip to content

Commit

Permalink
Pin Clippy to nightly-2023-06-28
Browse files Browse the repository at this point in the history
Until the following is resolved: rust-lang/rust#112628 (comment)
  • Loading branch information
smoelius committed Jul 3, 2023
1 parent 33c4509 commit 1132d6a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
cargo install cargo-license || true
cargo install cargo-modules || true
cargo install cargo-sort || true
# smoelius: Pin Clippy to nightly-2023-06-28 until the following is resolved:
# https://github.com/rust-lang/rust/pull/112628#issuecomment-1616750719
rustup toolchain install nightly-2023-06-28
rustup +nightly-2023-06-28 component add clippy
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand Down
9 changes: 8 additions & 1 deletion necessist/tests/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,16 @@ fn update() {

fn clippy_command(cargo_args: &[&str], rustc_args: &[&str]) -> Command {
// smoelius: The next command should match what's in scripts/clippy.sh.
// smoelius: Pin Clippy to nightly-2023-06-28 until the following is resolved:
// https://github.com/rust-lang/rust/pull/112628#issuecomment-1616750719
let mut command = Command::new("cargo");
command
.args(["+nightly", "clippy", "--all-features", "--all-targets"])
.args([
"+nightly-2023-06-28",
"clippy",
"--all-features",
"--all-targets",
])
.args(cargo_args)
.args(["--"])
.args(rustc_args)
Expand Down

0 comments on commit 1132d6a

Please sign in to comment.