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:
|
when:
|
||||||
branch: test
|
branch: main
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
path:
|
path:
|
||||||
include:
|
include:
|
||||||
- "src/**"
|
- "src/**"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
configure_rustup:
|
configure_rustup:
|
||||||
image: rust
|
image: rust
|
||||||
commands: |
|
commands:
|
||||||
rustup update stable && rustup default stable
|
- rustup update stable && rustup default stable
|
||||||
rustup component add clippy
|
|
||||||
cargo_clippy:
|
cargo_clippy:
|
||||||
image: rust
|
image: rust
|
||||||
commands:
|
commands:
|
||||||
|
- rustup component add clippy
|
||||||
- cargo clippy --all-targets --all-features
|
- cargo clippy --all-targets --all-features
|
||||||
cargo_test:
|
cargo_test:
|
||||||
image: rust
|
image: rust
|
||||||
|
|
Loading…
Reference in a new issue