20 lines
410 B
YAML
20 lines
410 B
YAML
when:
|
|
branch: main
|
|
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
|