This adds a check which will fail if the code in a PR or push is not formatted according to the .clang-format file. It skips 3rdparty code.
It also has a fix for the .clang-format file since the CI version took issue with it. I assume thats because it runs an earlier version of clang-format.
Note this currently fails. I've tested it by running clang-format -i over the codebase and the command succeeds after that.
This adds a check which will fail if the code in a PR or push is not formatted according to the
.clang-format
file. It skips 3rdparty code.It also has a fix for the
.clang-format
file since the CI version took issue with it. I assume thats because it runs an earlier version of clang-format.Note this currently fails. I've tested it by running
clang-format -i
over the codebase and the command succeeds after that.Ref: #22