Skip to content

Commit 4db5167

Browse files
authored
Add clippy check GitHub action
This commit adds a GitHub action that runs clippy on push
1 parent 21de4a8 commit 4db5167

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/clippy_check.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on: push
2+
name: Clippy check
3+
jobs:
4+
clippy_check:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- uses: actions-rs/toolchain@v1
9+
with:
10+
toolchain: nightly
11+
components: clippy
12+
override: true
13+
- uses: actions-rs/clippy-check@v1
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}
16+
args: --all-features

0 commit comments

Comments
 (0)