Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clang-format lint check to CI #31

Merged
merged 5 commits into from
Jun 30, 2021
Merged

Conversation

0x00002a
Copy link
Contributor

@0x00002a 0x00002a commented Jun 30, 2021

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

@Tectu
Copy link
Owner

Tectu commented Jun 30, 2021

Looking good, thank you! :)

@Tectu Tectu merged commit beb0cc6 into Tectu:main Jun 30, 2021
@0x00002a 0x00002a deleted the feat-clang-format-ci branch July 6, 2021 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants