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 to CI #24

Open
unterumarmung opened this issue Aug 16, 2021 · 1 comment
Open

Add clang-format to CI #24

unterumarmung opened this issue Aug 16, 2021 · 1 comment
Labels
ci CI related issues code style enhancement New feature or request good first issue Good for newcomers

Comments

@unterumarmung
Copy link
Owner

Example: https://github.com/YACLib/YACLib/blob/main/.github/workflows/clang-format.yml

@unterumarmung unterumarmung added enhancement New feature or request good first issue Good for newcomers ci CI related issues code style labels Aug 16, 2021
@b1ackviking
Copy link

One way to add a clang-format and a bunch of other checks is to use pre-commit hooks. Although they are called pre-commit, it is possible to run them on demand at any time.

You can find an example in these files: a list of hooks and a workflow file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci CI related issues code style enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants