add clippy hook
This commit is contained in:
parent
ebc9050d3d
commit
682a690c2e
|
@ -12,3 +12,10 @@
|
||||||
language: system
|
language: system
|
||||||
files: \.rs$
|
files: \.rs$
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
- id: clippy
|
||||||
|
name: clippy
|
||||||
|
description: Lint rust sources
|
||||||
|
entry: cargo clippy -- -D warnings
|
||||||
|
language: system
|
||||||
|
files: \.rs$
|
||||||
|
pass_filenames: false
|
||||||
|
|
Loading…
Reference in a new issue