-
Notifications
You must be signed in to change notification settings - Fork 6
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 JDK8/JDK17 into CI matrix #33
Add JDK8/JDK17 into CI matrix #33
Conversation
.github/workflows/ci.yml
Outdated
- name: Setup Java (temurin@8) | ||
if: matrix.java == 'temurin@8' | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: temurin | ||
java-version: 8 | ||
|
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.
Given that Java 8 was eol 2019 I think we can skip that, adding 17 is good though.
- name: Setup Java (temurin@8) | |
if: matrix.java == 'temurin@8' | |
uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 8 |
.github/workflows/ci.yml
Outdated
@@ -23,21 +23,35 @@ jobs: | |||
matrix: | |||
os: [ubuntu-latest] | |||
scala: [2.12.15, 2.11.12, 2.13.8] | |||
java: [temurin@11] | |||
java: [temurin@8, temurin@11, temurin@17] |
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.
java: [temurin@8, temurin@11, temurin@17] | |
java: [temurin@11, temurin@17] |
build.sbt
Outdated
@@ -68,6 +68,12 @@ developers := List( | |||
Developer("johanandren", "Johan Andrén", "johan@markatta.com", url("https://markatta.com/johan/codemonkey")) | |||
) | |||
|
|||
ThisBuild / githubWorkflowJavaVersions := List( | |||
JavaSpec.temurin("8"), |
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.
JavaSpec.temurin("8"), |
da25ec4
to
18e2bf7
Compare
@johanandren Just updated + rebased the PR with JDK 8 removed |
18e2bf7
to
ee1b78d
Compare
This PR adds JDK8/JDK17 into the CI build matrix. Remember to also update the github branch status checks after the PR gets merged.