when:
- event: pull_request
- event: push
- path: "src/*"
steps:
cargo_clippy:
image: rust
commands:
- cargo clippy
cargo_test:
image: rustlang/rust
- cargo test