Add a clippy hook.

This commit is contained in:
Teymour Aldridge 2020-06-20 19:43:38 +01:00 committed by GitHub
parent c9d5fe3776
commit 06f8e3769e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,3 +12,10 @@
language: system
files: \.rs$
pass_filenames: false
- id: cargo-clippy
name: cargo clippy
description: Run the Clippy linter on the package.
entry: cargo clippy -- -D warnings
language: system
files: \.rs$
pass_filenames: false