-
Notifications
You must be signed in to change notification settings - Fork 215
docs: improve CONTRIBUTING.md to more closely match CI execution #963
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 1 commit
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 |
|---|---|---|
|
|
@@ -37,17 +37,25 @@ Before submitting a PR make sure to run: | |
| - for formatting | ||
|
|
||
| ```shell | ||
| cargo fmt --all | ||
| cargo fmt --all -- --check | ||
| ``` | ||
|
|
||
| - the clippy lints | ||
| - the clippy lints (with warnings treated as errors) | ||
|
|
||
| ```shell | ||
| cargo clippy | ||
| cargo clippy --all-targets --all -- -D warnings | ||
| ``` | ||
|
|
||
| - the test suite | ||
|
|
||
| ```shell | ||
| cargo test | ||
| cargo test --all | ||
| ``` | ||
|
|
||
| - the lockfile check | ||
|
|
||
| ```shell | ||
| cargo check --locked --all-targets --all | ||
|
Member
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. Not sure how many times that is actually relevant? Have you run into that failing?
Contributor
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. hi @sholderbach thanks for the feedback! I think i was a bit thrown off by the github actions CI calling this command, as parity with CI was the priority for this PR. It seems like clippy covers this behavior (checking that |
||
| ``` | ||
|
|
||
| Note: CI runs these checks across multiple feature combinations (`bashisms`, `sqlite`, `external_printer`, etc.), so you may want to test with the features relevant to your changes using the `--features` flag. | ||
Uh oh!
There was an error while loading. Please reload this page.