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