Files
embedded-hal/.github/workflows/clippy.yml
Dario Nieuwenhuis 42b69fcf29 io: add separate embedded-io-adapters crate, add futures/tokio support.
If we want to release `embedded-io` 1.0 and the adapters live there, we can't make any
breaking changes to them after release. Putting them in a separate crate
allows doing breaking changes without breaking everyone using the IO traits.
2023-07-12 19:30:24 +02:00

20 lines
664 B
YAML

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-07-03
components: clippy
- run: cargo clippy --all-features -- --deny=warnings