-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Add back clippy & fmt checks #661
Conversation
6d485ae
to
0c3df98
Compare
.github/workflows/pr-tests.yml
Outdated
- name: Install nightly | ||
run: rustup toolchain install nightly-2023-01-03-x86_64-unknown-linux-gnu | ||
- name: Install riscv target | ||
run: rustup target add riscv32imac-unknown-none-elf --toolchain nightly-2023-01-03-x86_64-unknown-linux-gnu | ||
- name: Install stdlib | ||
run: rustup component add rust-src --toolchain nightly-2023-01-03-x86_64-unknown-linux-gnu | ||
- name: Lint | ||
run: cargo clippy --all --all-features -- -D warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it more performant to group the calls with --all-features
and --no-default-features
, so that it does not have to go back-and-forth?
Looks good! Why did you move clippy? |
72a217d
to
7c25760
Compare
I think my hope was to reuse some work, but I think it doesn't make much of a difference. But now the |
Clippy and fmt checks got (I think accidentally) removed in #624. This PR adds them back.