when: - event: pull_request - event: push - path: "src/*" steps: cargo_clippy: image: rust commands: | rustup update stable && rustup default stable rustup component add clippy # cargo clippy --all-targets --all-features cargo_test: image: rust commands: - cargo test