-
Notifications
You must be signed in to change notification settings - Fork 21
Add clang v20 and change default version to v16 #299
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
Cpp-Linter Report
|
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.
Pull Request Overview
This PR adds support for Clang v20 and updates the default tool version to v16.
- Expand accepted Clang versions in
action.yml
to include v20 and drop v7 - Update the default version from 14 to 16 in
action.yml
- Update the self-test workflow matrix to include v8 (at start) and v20
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
action.yml | Added v20 to supported versions list and changed default to v16 |
.github/workflows/self-test.yml | Updated test matrix to include clang v8 and v20 |
Comments suppressed due to low confidence (1)
.github/workflows/self-test.yml:34
- The new default clang version (v16) isn't covered by the matrix since tests only run when
clang-version
is specified. Add a job withoutclang-version
to verify the default falls back to v16 as expected.
clang-version: ['8','9','10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20']
WalkthroughThe updates extend clang version support in both the GitHub Actions workflow and the action input parameters, expanding the tested and accepted versions from 8 through 20. The default clang version for the action is updated from 14 to 16, and version 7 is no longer supported. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GitHubActions
participant Action
User ->> GitHubActions: Trigger workflow
GitHubActions ->> Action: Run with clang-version (8–20, default 16)
Action -->> GitHubActions: Validate and use specified clang version
GitHubActions -->> User: Report results for each clang version
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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)
action.yml (1)
47-47
: Bump default Clang version to v16
The default has been updated from "14" to 16, aligning with the new version support. For consistency with other string defaults, consider quoting this value as"16"
.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/self-test.yml
(1 hunks)action.yml
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: test (macos-latest, 16)
- GitHub Check: test (macos-latest, 10)
- GitHub Check: test (macos-latest, 14)
🔇 Additional comments (2)
action.yml (1)
42-42
: Update input description matches supported Clang versions
The accepted options now correctly exclude version 7 and include version 20, consistent with the expanded support matrix..github/workflows/self-test.yml (1)
34-34
: Extend CI matrix to include Clang v8 and v20
The self-test workflow now correctly tests versions 8 through 20, matching the action's input specification and ensuring coverage for the newly supported versions.
Related #298
Summary by CodeRabbit