Clippy check #1147
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: # Run CI for all branches except GitHub merge queue tmp branches | |
branches-ignore: | |
- "gh-readonly-queue/**" | |
pull_request: # Run CI for PRs on any branch | |
merge_group: # Run CI for the GitHub merge queue | |
name: Clippy check | |
jobs: | |
clippy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
# embedded-hal-async needs nightly. | |
# Use a pinned version to avoid spontaneous breakages (new clippy lints are added often) | |
toolchain: nightly-2023-10-14 | |
components: clippy | |
- run: cargo clippy --all-features -- --deny=warnings |