-
Notifications
You must be signed in to change notification settings - Fork 42
ci: fix clippy check spelling and labeler failures #779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| possible stability impact: | ||
| - libfdo-data/fdo_data.h | ||
| - libfdo-data/libfdo-data-go.doc | ||
| "possible stability impact": | ||
| - changed-files: | ||
| - any-glob-to-any-file: "libfdo-data/fdo_data.h" | ||
| - any-glob-to-any-file: "libfdo-data/libfdo-data-go.doc" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,6 @@ childs | |
| ot | ||
| marshalling | ||
| te | ||
| blacklist | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should be a separate commit. |
||
| msdos | ||
| ro | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,7 +79,7 @@ jobs: | |
| with: | ||
| toolchain: stable | ||
| components: clippy | ||
| - run: cargo clippy -- -D warnings -D clippy::panic -D clippy::todo | ||
| - run: cargo clippy -- -D clippy::panic -D clippy::todo | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since we don't have Rust veterans in the team I would encourage to maintain clippy failing on warnings, we need more learning opportunities
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok @7flying I understand. These warnings are related to the older format string syntax usage in rs files I.e. https://github.com/fdo-rs/fido-device-onboard-rs/blob/main/util/src/servers/mod.rs#L73 There is more than one file using this syntax. Thus, should we change all of them (despite those changes wouldn't be related to Clippy command) in a separated PR?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mcattamoredhat I would run |
||
|
|
||
| build_and_test: | ||
| runs-on: ubuntu-latest | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again a separate commit, generally each fix should be independent, make it easier for bisect and review.