Skip to content

Increase cargo clippy coverage in CI #1507

Increase cargo clippy coverage in CI

Increase cargo clippy coverage in CI #1507

Workflow file for this run

on:
push:
branches: [staging, trying, master]
pull_request:
name: Clippy
jobs:
clippy_check:
runs-on: ubuntu-latest
env:
FLAGS: rt,defmt,log
PERIPHERAL: xspi,sdmmc,sdmmc-fatfs,fmc,usb_hs,rtc,ethernet,ltdc,crc,rand,can,dsi
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.0
target: thumbv7em-none-eabihf
components: clippy
- uses: clechasseur/rs-clippy-check@v3
with:
args: --examples --target thumbv7em-none-eabihf --features=stm32h743v,${{ env.FLAGS }},${{ env.PERIPHERAL }} -- -D warnings