Skip to content

CI: Re-enable clang-format-check workflow - #508

Open
padelsbach wants to merge 1 commit into
wolfSSL:mainfrom
padelsbach:ci-reenable-clang-format
Open

CI: Re-enable clang-format-check workflow#508
padelsbach wants to merge 1 commit into
wolfSSL:mainfrom
padelsbach:ci-reenable-clang-format

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

Fixes an issue where the git clang-format wrapper was picking up a different version than claimed, and not printing the diff, making it challenging to know what actually failed.

The guts of the clang-format yaml is moved to a script in .githooks so that it can be used locally as a pre-commit hook. Enable it with the following command (also in the readme):

    sudo apt-get install -y clang-format-18
    git config core.hooksPath .githooks

There are about 13k lines of source code which could be re-formatted, but not touching that for now.

If this change breaks or causes annoyance, we will disable or drop this workflow.

@padelsbach
padelsbach force-pushed the ci-reenable-clang-format branch 2 times, most recently from 83bd703 to 4ae7a86 Compare August 6, 2026 20:08
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