ci: add rustup clippy

This commit is contained in:
Strix 2023-10-14 22:39:46 +02:00
parent 4626533269
commit 6098dce4aa
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -14,6 +14,7 @@ steps:
clippy: # check if the code compiles clippy: # check if the code compiles
image: rust image: rust
commands: commands:
- rustup component add clippy
- cargo clippy --release --no-deps --manifest-path bootpkg/Cargo.toml - cargo clippy --release --no-deps --manifest-path bootpkg/Cargo.toml
- cargo clippy --release --no-deps --manifest-path pkgr/Cargo.toml - cargo clippy --release --no-deps --manifest-path pkgr/Cargo.toml
pull: true pull: true