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