Skip to content

Commit

Permalink
Add JDK8/JDK17 into CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Mar 11, 2022
1 parent 50c3ffa commit 18e2bf7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [2.12.15, 2.11.12, 2.13.8]
java: [temurin@11]
java: [temurin@11, temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand All @@ -38,6 +38,13 @@ jobs:
distribution: temurin
java-version: 11

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

- name: Cache sbt
uses: actions/cache@v2
with:
Expand Down
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ developers := List(
Developer("johanandren", "Johan Andrén", "johan@markatta.com", url("https://markatta.com/johan/codemonkey"))
)

ThisBuild / githubWorkflowJavaVersions := List(
JavaSpec.temurin("11"),
JavaSpec.temurin("17")
)

// Disable publish for now
ThisBuild / githubWorkflowPublishTargetBranches := Seq()

Expand Down

0 comments on commit 18e2bf7

Please sign in to comment.