Skip to content

Commit

Permalink
Add GH action for clippy checks (#208)
Browse files Browse the repository at this point in the history
Add GH action for clippy checks
  • Loading branch information
therealprof authored Apr 26, 2020
1 parent 5754bb7 commit 0b3a0b3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [push, pull_request]

name: Clippy check
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: thumbv7m-none-eabi
override: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --features=stm32f103 --target thumbv7m-none-eabi

0 comments on commit 0b3a0b3

Please sign in to comment.