Skip to content

Commit 45007cc

Browse files
RalfJungtgross35
authored andcommitted
nightlies without clippy are not a thing any more
1 parent 571ce5f commit 45007cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/main.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,9 @@ jobs:
178178
with:
179179
submodules: true
180180
# Unlike rustfmt, stable clippy does not work on code with nightly features.
181-
# This acquires the most recent nightly with a clippy component.
182181
- name: Install nightly `clippy`
183182
run: |
184-
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
183+
rustup set profile minimal && rustup default nightly && rustup component add clippy
185184
- uses: Swatinem/rust-cache@v2
186185
- run: cargo clippy -- -D clippy::all
187186

0 commit comments

Comments
 (0)