Add event condition for clippy step in CI configuration
This commit is contained in:
@@ -4,6 +4,8 @@ steps:
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- cargo clippy --all-targets --all-features -- -D warnings
|
||||
when:
|
||||
- event: [push, pull_request]
|
||||
|
||||
matrix:
|
||||
RUST_VERSION:
|
||||
|
||||
Reference in New Issue
Block a user