image: "rust:1.58" # current minimal rust version
test:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
before_script:
- rustup component add clippy
- rustup component add rustfmt
- cargo install --locked cargo-deny
- rustc --version
- cargo --version
script:
- cargo deny check
- cargo clippy -- --D warnings
- cargo test --workspace --verbose