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 JDK8/JDK17 into CI matrix #33

Merged

Conversation

mdedetrich
Copy link
Contributor

This PR adds JDK8/JDK17 into the CI build matrix. Remember to also update the github branch status checks after the PR gets merged.

@coveralls
Copy link

coveralls commented Mar 11, 2022

Coverage Status

Coverage decreased (-1.5%) to 87.64% when pulling ee1b78d on mdedetrich:add-jdk8-djk17-into-ci-matrix into 50c3ffa on johanandren:main.

Comment on lines 34 to 40
- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8

Copy link
Owner

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.

Suggested change
- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8

@@ -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]
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
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"),
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
JavaSpec.temurin("8"),

@mdedetrich mdedetrich force-pushed the add-jdk8-djk17-into-ci-matrix branch from da25ec4 to 18e2bf7 Compare March 11, 2022 12:49
@mdedetrich
Copy link
Contributor Author

@johanandren Just updated + rebased the PR with JDK 8 removed

@mdedetrich mdedetrich force-pushed the add-jdk8-djk17-into-ci-matrix branch from 18e2bf7 to ee1b78d Compare March 11, 2022 12:56
@johanandren johanandren merged commit 01e93ee into johanandren:main Mar 14, 2022
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