-
Notifications
You must be signed in to change notification settings - Fork 1
Implementation of GHA #546
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
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.
Looks good, let's try this out!
Hmm, looks like something can't handle java 17 (class file version 61) |
yes, this PR should probably still be a draft pr 😅 |
@sebastian-peter @danielfeismann Took a while to figure this out :D |
I updated the gradle version in main, but I think we also need the gradle version functionality there for this to work, right? Edit: Nevermind, the functionality is there |
yes we need it :D |
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.
Could you reverse your changes then, so that this is as close as possible to the simona CI? Otherwise, people will wonder why there's differences at some point, although there's no reason
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.
Thanks, let's give it a try!
This pull request introduces a continuous integration (CI) workflow using GitHub Actions and adds scripts to enforce branch naming conventions and handle semantic versioning. The most important changes include setting up the CI workflow, adding a script to check branch names, and registering tasks for semantic versioning.
CI Workflow Setup:
.github/workflows/ci.yml
: Added a CI workflow configuration that includes steps for checking out the source code, setting up Gradle and Java, building the project, running tests, generating Scala documentation, and deploying to Maven Central.Branch Naming Convention:
gradle/scripts/branchName.gradle
: Added a Gradle script to check branch names against predefined patterns to ensure they follow the required naming conventions.Semantic Versioning:
gradle/scripts/semVer.gradle
: Registered tasks forcurrentVersion
anddevVersion
to print the current semantic version and the development version, respectively.