ci: fix clippy
All checks were successful
CI / build (push) Successful in 9m7s

This commit is contained in:
2026-01-11 12:22:00 +01:00
parent 182cc086c0
commit 2f43ed1597
2 changed files with 3 additions and 3 deletions

View File

@@ -33,11 +33,11 @@ jobs:
- name: Build
run: cargo build
env:
RUST_FLAGS: -Dwarnings
RUSTFLAGS: -Dwarnings
- name: Lint
run: cargo clippy --all-targets --all-features
env:
RUST_FLAGS: -Dwarnings
RUSTFLAGS: -Dwarnings
- name: Install runtime system dependencies
run: |
sudo apt-get update

View File

@@ -428,7 +428,7 @@ mod tests {
// For determinism, we require for tests that either a distro or series is specified,
// as no distribution would mean fallback to system distro
assert!(dist != None || series != None);
assert!(dist.is_some() || series.is_some());
// Use a temp directory as working directory
let temp_dir = tempfile::tempdir().unwrap();