16 lines
318 B
YAML
16 lines
318 B
YAML
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
|