Repository navigation
Refactor CI workflows and add cpplint check - #150
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 18 minutes. View limit details
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. |
There was a problem hiding this comment.
🔵 Needs a closer look
The runner-image migration and new lint gate require GitHub Actions runtime validation unavailable in this checkout, leaving compatibility and required-check behavior unverified.
No open issues 🎉
What changed in this PR
This pull request standardizes GitHub Actions workflows on Ubuntu 26.04, separates PlatformIO and cpplint dependencies, and adds dedicated C++ linting while making small source and configuration updates.
Changes:
- Adds and locks cpplint 2.0.2 in a dedicated uv dependency group.
- Updates CI workflows to use Ubuntu 26.04 and explicit dependency groups.
- Adds a cpplint workflow, which still needs merge-queue trigger coverage.
- Adjusts C++ includes, unused parameters, and generated-file ignores.
| File | Description |
|---|---|
| uv.lock | Locks cpplint and records the separated cpplint, PlatformIO, and development dependency groups. |
| src/esp/StatusHandler.cpp | Adds the ESP32 GPIO header required by the status LED implementation. |
| src/esp/MqttHandler.cpp | Explicitly marks unused MQTT callback parameters. |
| pyproject.toml | Defines the cpplint and PlatformIO dependency groups. |
| .gitignore | Ignores cache files and generated compilation database artifacts. |
| .github/workflows/uv.yml | Runs uv lock validation on Ubuntu 26.04. |
| .github/workflows/stale.yml | Runs stale issue processing on Ubuntu 26.04. |
| .github/workflows/platformio.yml | Runs PlatformIO commands with the dedicated dependency group on Ubuntu 26.04. |
| .github/workflows/labeler.yml | Runs pull-request labeling on Ubuntu 26.04. |
| .github/workflows/ikea-bekant.yml | Runs full and minimal PlatformIO builds on Ubuntu 26.04 with the dedicated dependency group. |
| .github/workflows/end-of-life.yml | Updates existing checks for Ubuntu 26.04 and adds Ubuntu end-of-life monitoring. |
| .github/workflows/dependabot.yml | Runs the PlatformIO dependency updater on Ubuntu 26.04. |
| .github/workflows/cpplint.yml | Adds recursive cpplint validation for C++ sources, but does not yet trigger for merge-queue runs. |
| .github/workflows/context.yml | Updates PlatformIO cache and environment jobs for Ubuntu 26.04 and the dedicated dependency group. |
| .github/workflows/clang.yml | Updates Clang jobs for Ubuntu 26.04 and uses the PlatformIO dependency group. |
Review effort: Lite
Refactor CI workflows to use Ubuntu 26.04 and introduce a new cpplint check for code quality. This update enhances the consistency and reliability of the CI process.