Refactor config structure and add CI workflow configuration - #23
Refactor config structure and add CI workflow configuration#23FrozenLemonTee wants to merge 6 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR moves configuration files (.clang-format, .clang-tidy, .editorconfig, .gitattributes) into a config/ directory, adds a new GitHub Actions CI workflow for clang-format checking/auto-fixing, and updates documentation references to reflect the new file paths.
Changes:
- Moved
.clang-format,.clang-tidy,.editorconfig, and.gitattributesintoconfig/and added a new CI workflow atconfig/.github/workflows/code-format.yml. - Updated documentation links in
README.md,clang-format.md, andclang-tidy.mdto point to the newconfig/paths. - Added a new "CI/CD 工作流配置" section (§4.2) in
README.mddescribing the workflow capabilities.
Reviewed changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR moves configuration files (.clang-format, .clang-tidy, .editorconfig, .gitattributes) into a config/ subdirectory, adds a new GitHub Actions CI workflow for automated clang-format checking/fixing, and updates documentation references accordingly.
Changes:
- Adds new config files (
.clang-format,.clang-tidy,.editorconfig,.gitattributes) underconfig/directory with comprehensive formatting, linting, editor, and Git settings. - Adds a GitHub Actions workflow (
code-format.yml) that checks formatting on PRs/pushes and optionally auto-fixes viaworkflow_dispatch. - Updates
README.md,clang-format.md, andclang-tidy.mdto reference the newconfig/file paths and adds CI/CD documentation.
Reviewed changes
Copilot reviewed 4 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

No description provided.