-
-
Notifications
You must be signed in to change notification settings - Fork 71
Integrate BytecodeAnalyser into the GitHub Actions build #643
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
Integrate BytecodeAnalyser into the GitHub Actions build #643
Conversation
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.
Makes sense and looks like it works. I wonder whether we could publish the BytecodeAnalyzer as a GitHub action, but that is definitely overkill for what we need.
I think it would be helpful if mappings issues caused the build to fail, so it would be more obvious when there is a problem. Right now you need to manually open the log and check if it found anything https://github.com/CommandAPI/CommandAPI/actions/runs/14626252087/job/41038318147#step:9:37. But that's a matter of how the BytecodeAnalyzer program works, so no reason to not merge this. I'm pretty sure if the Java program exits with a non-zero code this GitHub Action step will fail as well.
Yeah, if you look at the failing build right after the commit you linked to, you'll see that I added that there. |
Follow-up for #641 to now check compatibility for each commit so no accidental incompatible changes are made.