Skip to content

github/workflows: run clippy on tests#11

Merged
00xc merged 2 commits into
coconut-svsm:mainfrom
00xc:ci/clippy-tests
Nov 19, 2025
Merged

github/workflows: run clippy on tests#11
00xc merged 2 commits into
coconut-svsm:mainfrom
00xc:ci/clippy-tests

Conversation

@00xc

@00xc 00xc commented Nov 17, 2025

Copy link
Copy Markdown
Member

Fix a clippy warning and add a missing clippy run on test code. Enable all features to ensure all tests are covered.

00xc added 2 commits November 17, 2025 20:58
Fix the following warning:

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> src/lib.rs:138:27
    |
138 |             ar.write_file(&file).unwrap();
    |                           ^^^^^ help: change this to: `file`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default

Signed-off-by: Carlos López <clopez@suse.de>
Add a missing clippy run on test code. Enable all features to ensure
all tests are covered.

Signed-off-by: Carlos López <clopez@suse.de>
@00xc 00xc merged commit 239c0dc into coconut-svsm:main Nov 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants