init-ci (2/2) #14
1 changed files with 8 additions and 5 deletions
|
@ -1,17 +1,20 @@
|
|||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
- path:
|
||||
include: ['*.rs']
|
||||
- path:
|
||||
include: ["*.rs"]
|
||||
|
||||
steps:
|
||||
cargo_clippy:
|
||||
configure_rustup:
|
||||
image: rust
|
||||
commands: |
|
||||
rustup update stable && rustup default stable
|
||||
rustup component add clippy
|
||||
# cargo clippy --all-targets --all-features
|
||||
cargo_clippy:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo clippy --all-targets --all-features
|
||||
cargo_test:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo test
|
||||
- cargo test --all-features
|
||||
|
|
Loading…
Reference in a new issue