ci: add rustup step

This commit is contained in:
notohh 2024-02-25 12:12:53 -05:00
parent f517307538
commit ca05de5cd5
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -1,17 +1,20 @@
when:
- event: pull_request
- event: push
- path:
include: ['*.rs']
- path:
include: ["*.rs"]
steps:
cargo_clippy:
configure_rustup:
image: rust
commands: |
rustup update stable && rustup default stable
rustup component add clippy
# cargo clippy --all-targets --all-features
cargo_clippy:
image: rust
commands:
- cargo clippy --all-targets --all-features
cargo_test:
image: rust
commands:
- cargo test
- cargo test --all-features