2024-07-15 13:49:57 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
|
|
|
tests:
|
|
|
|
stage: test
|
|
|
|
image: fedora:latest
|
|
|
|
before_script:
|
|
|
|
- dnf install -y cargo rustfmt clippy parted-devel clang-devel
|
|
|
|
script:
|
|
|
|
- cargo build --release
|
|
|
|
- cargo fmt --all -- --check
|
2024-08-09 13:19:31 +00:00
|
|
|
- cargo clippy -- -D warnings
|
|
|
|
- cargo install cargo-audit
|
|
|
|
- cargo audit
|