Skip to content

Migrate rp2040-hal to edition 2021 #1808

Migrate rp2040-hal to edition 2021

Migrate rp2040-hal to edition 2021 #1808

Workflow file for this run

on: [push, pull_request]
name: Clippy check
jobs:
clippy_check:
name: Run Clippy
runs-on: ubuntu-20.04
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
target: thumbv6m-none-eabi
components: clippy
- run: cargo clippy --workspace --examples -- -Dwarnings
- run: cargo clippy --workspace --examples --all-features -- -Dwarnings
- run: |
cd on-target-tests
cargo clippy -- -Dwarnings