clippy.yml 487 B

123456789101112131415161718
  1. on: [push, pull_request]
  2. name: Clippy check
  3. jobs:
  4. clippy_check:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - run: rustup component add clippy
  9. - uses: actions-rs/toolchain@v1
  10. with:
  11. toolchain: stable
  12. target: thumbv7m-none-eabi
  13. override: true
  14. - uses: actions-rs/clippy-check@v1
  15. with:
  16. token: ${{ secrets.GITHUB_TOKEN }}
  17. args: --features=stm32f103 --target thumbv7m-none-eabi