File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 53
53
cargo install cargo-license || true
54
54
cargo install cargo-modules || true
55
55
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
56
60
57
61
- name : Install Foundry
58
62
uses : foundry-rs/foundry-toolchain@v1
Original file line number Diff line number Diff line change @@ -279,9 +279,16 @@ fn update() {
279
279
280
280
fn clippy_command ( cargo_args : & [ & str ] , rustc_args : & [ & str ] ) -> Command {
281
281
// 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
282
284
let mut command = Command :: new ( "cargo" ) ;
283
285
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
+ ] )
285
292
. args ( cargo_args)
286
293
. args ( [ "--" ] )
287
294
. args ( rustc_args)
You can’t perform that action at this time.
0 commit comments