Add clippy github ci job
@@ -78,6 +78,22 @@ jobs:
cargo check --target thumbv6m-none-eabi --features print-defmt
cargo check --target thumbv6m-none-eabi --features print-rtt
+ clippy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ override: true
+ profile: minimal
+ components: clippy
+ - uses: actions-rs/clippy-check@v1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: >
+ --workspace
+
mdbook:
strategy:
matrix:
