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

Upgrade the build to run on JDK 11 #729

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented Feb 28, 2024

The build currently fails because it runs on JDK 8 but the findsecbugs-samples-java11 module requires java 11

The findsecbugs-samples-java11 module requires java 11
@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11

Choose a reason for hiding this comment

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

Maybe version could be dropped from the name? Then - with the future change to come, there will be no need to keep them in sync.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm used to see the JDK version in the build steps because when doing matrix builds (running the build on different JDK) it helps quickly seeing what's running. But I agree that we could remove it as well, I suppose it's matter of preference

Choose a reason for hiding this comment

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

With the matrix build, that is not the case here, the matrix element could be used to build names. Here the literal 1.8/11 is used (twice).

The matrix with one JDK would do as well.

Currently it's the only step in the job and there is no different JDK involved so far. Hence I proposed to consider dropping version from the name.

Copy link
Member

Choose a reason for hiding this comment

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

I am ok with being more explicit on the label name.

@h3xstream h3xstream merged commit daed555 into find-sec-bugs:master Feb 29, 2024
2 checks passed
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.

None yet

3 participants