Skip to content

Commit 438eb00

Browse files
committed
github: add job for clippy
Signed-off-by: Rouven Czerwinski <[email protected]>
1 parent 8b891cd commit 438eb00

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/cargo.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on: [push]
22

3-
name: CI Cargo
3+
name: CI
44

55
jobs:
66
build_and_test:
@@ -15,3 +15,17 @@ jobs:
1515
with:
1616
command: build
1717
args: --release --all-features
18+
clippy_check:
19+
name: Clippy Check
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions-rs/toolchain@v1
24+
with:
25+
toolchain: nightly
26+
components: clippy
27+
override: true
28+
- uses: actions-rs/clippy-check@v1
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
args: --all-features

0 commit comments

Comments
 (0)