Skip to content

Commit

Permalink
Increase cargo clippy coverage in CI
Browse files Browse the repository at this point in the history
Use a wider set of build options for clippy
  • Loading branch information
richardeoin committed Dec 26, 2024
1 parent 0735f79 commit efa5636
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ 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
Expand All @@ -17,4 +20,4 @@ jobs:
components: clippy
- uses: clechasseur/rs-clippy-check@v3
with:
args: --examples --target thumbv7em-none-eabihf --features=rt,stm32h743v -- -D warnings
args: --examples --target thumbv7em-none-eabihf --features=stm32h743v,${{ env.FLAGS }},${{ env.PERIPHERAL }} -- -D warnings

0 comments on commit efa5636

Please sign in to comment.