ci: fix clippy install
ci: fix branch
This commit is contained in:
parent
3fd3c4c7f1
commit
1c5e6f456d
1 changed files with 4 additions and 5 deletions
|
@ -1,19 +1,18 @@
|
|||
when:
|
||||
branch: test
|
||||
branch: main
|
||||
event: [push, pull_request]
|
||||
path:
|
||||
include:
|
||||
- "src/**"
|
||||
|
||||
steps:
|
||||
configure_rustup:
|
||||
image: rust
|
||||
commands: |
|
||||
rustup update stable && rustup default stable
|
||||
rustup component add clippy
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue