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