20 lines
412 B
YAML
20 lines
412 B
YAML
when:
|
|
branch: master
|
|
event: [push, pull_request]
|
|
path:
|
|
include:
|
|
- "src/**"
|
|
steps:
|
|
configure_rustup:
|
|
image: rust
|
|
commands:
|
|
- rustup update stable && rustup default stable
|
|
cargo_clippy:
|
|
image: rust
|
|
commands:
|
|
- rustup component add clippy
|
|
- cargo clippy --all-targets --all-features
|
|
cargo_test:
|
|
image: rust
|
|
commands:
|
|
- cargo test --all-features
|