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

Errors running clang-tidy itself still gives a green tick in actions #74

Open
vadi2 opened this issue Mar 26, 2023 · 4 comments
Open

Errors running clang-tidy itself still gives a green tick in actions #74

vadi2 opened this issue Mar 26, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@vadi2
Copy link
Contributor

vadi2 commented Mar 26, 2023

I've had a couple of errors running clang-tidy itself, from outdated syntax to missing dependencies - but the action still gave a green tick, and due to the split workflow, even claims I don't have issues in code.

I wanted to kindly suggest that these issues be looked into as it may cause confusion for users like myself who rely on the tool. As it stands, it is not entirely reliable and may lead to false positives if left unattended for a significant period.

@ZedThree
Copy link
Owner

I think other people had requested that it doesn't fail on errors, so maybe that should be a user option

@vadi2
Copy link
Contributor Author

vadi2 commented Mar 27, 2023

That sounds like a good approach.

@vadi2
Copy link
Contributor Author

vadi2 commented Mar 28, 2023

FTR it doesn't seem to be consistent - when the action itself has a problem, it gives an X.

@ZedThree ZedThree added the bug Something isn't working label Mar 29, 2023
@ZedThree
Copy link
Owner

Maybe the best thing to do is to catch exceptions at the highest level and then make an annotation with the error, and set the status to neutral or something. That way it will give an indication that the action hasn't worked without failing the checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants