-
-
Notifications
You must be signed in to change notification settings - Fork 790
ci: additional workflow for rules check #7823
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
Conversation
|
WalkthroughThe pull request workflow has been restructured to separate linting and rules checking. The cargo lint step now runs independently with Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/pull_request.yml (1)
48-51: Minor: step name doesn't match the actual command.Line 48 labels this "Run clippy", but line 49 runs
cargo lint. Ifcargo lintis a wrapper that includes clippy, consider renaming the step to "Run lint" for clarity.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/pull_request.yml(1 hunks)
🔇 Additional comments (1)
.github/workflows/pull_request.yml (1)
49-53: Verify intended workflow behaviour withcontinue-on-error.With this setup, the job will pass if
cargo lintfails butcargo run -p rules_checksucceeds (since only the lint step hascontinue-on-error: true). Confirm this is the desired behaviour—whether you want both checks to gate the job or if lint failures should be non-blocking warnings while rules_check failure blocks the job.
|
@dyc3 PR updated, as we as the description |
dyc3
left a comment
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.
Yeah this is definitely easier :)
Summary
Created a new workflow meant to lint the docs of our rules. They are different workflows, so they are decoupled from linting, and they run only when we change files in the analyze crates.
Test Plan
Docs