-
Notifications
You must be signed in to change notification settings - Fork 19
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
PG-1095 Add format validation CI workflow and format sources #308
base: main
Are you sure you want to change the base?
Conversation
Performance test results: |
03c7998
to
5cd9794
Compare
47a1d23
to
f2e1990
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good, but please exclude the versioned folders (src16
, src17
, and later any srcXX
) from it.
The idea of them is that they only do minimal changes to the files copied from the server, to ensure that we can do minor/major version updates in an automated way using scripts.
Reformatting them would break this workflow.
If some lines/sections are completely added by us, reformatting them is okay, but this should be a manual process, not automated, because of the majority of the changes are done by sed. (the script doing this is in the tools
directory)
PG-1095
This PR adds code format check job. Also it added Makefile target for code formatting according to PG style (pgindent)
License header check and cppcheck will be added in separate PR.