Run clang format on code base#352
Conversation
paulquiring
commented
Jul 23, 2026
- All Cpp files are formatted
- Enables clang-format pre-commit hook
- Update in code coverage workflow
- Update in MODULE.bazel
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
| jobs: | ||
| cpp: | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/cpp-coverage.yml@ea19fcae9aeeb4ac678b750c6c197eaf75414f39 # v0.0.0 | ||
| uses: eclipse-score/cicd-workflows/.github/workflows/cpp-coverage.yml@main |
There was a problem hiding this comment.
I dont think we should use the branch. I think in general people use the commit tag so that CI is stable even when template is changed.
So if we need newer stuff I would just get the commit tag of main that we need.
There was a problem hiding this comment.
I understand, but I’d prefer an automatic update. In the example main is used:
C++ Coverage Workflow
Fail early fail often.
There was a problem hiding this comment.
@NicolasFussberger Deciding vote?
Think that failing early is good for our code, a major change in the template would mean we are blocked from PRs on our repo until we fix the CI
There was a problem hiding this comment.
Pinning to a specific commit is also recommended to avoid supply chain attacks, although debatable whether that matters between our own repos. That page is a good read either way 😄
There was a problem hiding this comment.
I guess I would also favor the fixed commits, with either a bot that updates this regularly or we have to update this manually regularly.
With directly using main, when they roll out breaking changes it would just break our pipelines and we cannot distinguish between minor changes and major changes.
Would be great if we could pin to version 1.x.x or something like that so that we get the latest as long as its not a breaking change.
There was a problem hiding this comment.
All right then, I’ll pin that version. I think we should check every now and then to see if there are any newer versions.