This workflow can run Clang-Format on your repo using the style listed in a .clang-format file. Configure the caller as required.
See https://github.com/NathanaelGandhi/clang-format-check-reusable-workflow for the latest version.
- Copy the clang-format-check-caller.yaml into your own
.github/workflows
folder