Skip to content

Commit 0b3a0b3

Browse files
authored
Add GH action for clippy checks (#208)
Add GH action for clippy checks
1 parent 5754bb7 commit 0b3a0b3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/clippy.yml

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

0 commit comments

Comments
 (0)