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

Add PR builder GitHub Workflow for Code snippets #1283

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

kwart
Copy link
Member

@kwart kwart commented Sep 9, 2024

This PR adds GitHub workflow to compile the Java code on pull requests (to verify the code still works with given Hazelcast version).
It also adds a dependabot configuration.

Originally the changes were part of the #1263

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for hardcore-allen-f5257d ready!

Name Link
🔨 Latest commit 52a18c1
🔍 Latest deploy log https://app.netlify.com/sites/hardcore-allen-f5257d/deploys/66defd4d810fa80008f8b286
😎 Deploy Preview https://deploy-preview-1283--hardcore-allen-f5257d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am concerned about the scalability of this as Hazelcast dependencies change, and think using hazelcast-parent would be a better base.

But I guess we can figure that out we try it...

- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kwart
Copy link
Member Author

kwart commented Sep 9, 2024

Thanks for the review, Jack.
I agree; we can try to move it even more in the next iterations. It just wasn't my goal in this PR.

Copy link
Contributor

@oliverhowell oliverhowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great enhancement!
I've been talking about this recently and like magic, we have a PR!

@kwart
Copy link
Member Author

kwart commented Sep 9, 2024

Thank you for the review, Oliver.

@kwart kwart merged commit b076f34 into hazelcast:main Sep 9, 2024
7 checks passed
@kwart kwart deleted the fix/6.0/compile-code-snippets branch September 9, 2024 14:38
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.

3 participants