ci: fix clippy install

ci: fix branch
This commit is contained in:
notohh 2024-02-25 13:51:20 -05:00
parent 3fd3c4c7f1
commit 1c5e6f456d
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -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