mirror of
https://github.com/rust-embedded/embedded-hal.git
synced 2026-03-19 05:40:32 +00:00
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.
20 lines
664 B
YAML
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 |