ci: add rustup step
This commit is contained in:
parent
f517307538
commit
ca05de5cd5
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