-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Different Formatting Results Between Action and Locally #198
Comments
We have a |
Interesting! Thanks for submitting this issue. Have you noticed any overlap with the files it's complaining about in CI and your Finally, is there a difference between the minor and/or patch versions of - name: Check clang-format
uses: jidicula/clang-format-action@0391c32fa54dcffc9d61e34f106433ab053c20fc
with:
clang-format-version: 18
exclude-regex: '(3rdparty|libs|scripts|test|tests)' just to see what's output. If you do notice a difference in versions and you see a difference in behaviour, please leave a comment (and vote) in #192. |
Interesting... Just did a test with |
That is very unfortunate and frustrating that LLVM included breaking changes in a patch version increment - I had been hoping there wouldn't be any impact for this shape of change. I've opened #199 to look into a better solution for this. In the meantime, I suppose your only mitigation is to upgrade your toolchain (probably annoying reactive work) to match what's in CI. I'm also going to cut a new release right away so users have some more visibility into what specific |
I agree but oh well. We'll figure out a workaround. Supporting system |
We are using
clang-format
18 via LLVM18.1.5
but after formatting locally the files that the CI complains about in its checks, no changes are applied. Is there something we're missing? Below is how we are using the action:The text was updated successfully, but these errors were encountered: