Skip to content

Commit c102b6c

Browse files
committed
f keep Clippy installation in CI
1 parent 738c8f8 commit c102b6c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ jobs:
241241
run: |
242242
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
243243
rustup override set ${{ env.TOOLCHAIN }}
244+
- name: Install clippy
245+
run: |
246+
rustup component add clippy
244247
- name: Run default clippy linting
245248
run: |
246249
./ci/check-lint.sh

ci/check-lint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/bin/sh
22
set -e
33
set -x
4-
rustup component add clippy
54
RUSTFLAGS='-D warnings' cargo clippy -- \
65
`# Errors` \
76
-A clippy::erasing_op \

0 commit comments

Comments
 (0)