From 76d263fd2c936adbb56310ed094f3f44e1585493 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 18 Mar 2025 22:24:20 +0100 Subject: [PATCH] nightlies without clippy are not a thing any more --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 34742e349..50844a66c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -178,10 +178,9 @@ jobs: with: submodules: true # Unlike rustfmt, stable clippy does not work on code with nightly features. - # This acquires the most recent nightly with a clippy component. - name: Install nightly `clippy` run: | - rustup set profile minimal && rustup default "nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/clippy)" && rustup component add clippy + rustup set profile minimal && rustup default nightly && rustup component add clippy - uses: Swatinem/rust-cache@v2 - run: cargo clippy -- -D clippy::all