Skip to content

Commit

Permalink
Build on Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
nafg committed Sep 27, 2024
1 parent d51f746 commit b80390a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [2.12.19]
java: [zulu@8]
java: [zulu@11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (zulu@8)
if: matrix.java == 'zulu@8'
- name: Setup Java (zulu@11)
if: matrix.java == 'zulu@11'
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 8
java-version: 11
cache: sbt

- name: Setup sbt
Expand Down
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pull_request_rules:
- author=scala-steward
- author=slick-scala-steward[bot]
- author=renovate[bot]
- check-success=Build and Test (ubuntu-latest, 2.12.19, zulu@8)
- check-success=Build and Test (ubuntu-latest, 2.12.19, zulu@11)
actions:
queue:
name: default
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _root_.io.github.nafg.mergify.dsl._
import _root_.io.github.nafg.mergify.dsl.*


mergifyExtraConditions := Seq(
Expand Down Expand Up @@ -36,6 +36,6 @@ runAll := {
runAllIn(Test).value
}

ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.zulu("11"))
ThisBuild / githubWorkflowBuild += WorkflowStep.Sbt(List("runAll"), name = Some(s"Run all main classes"))

ThisBuild / githubWorkflowPublishTargetBranches := Seq()

0 comments on commit b80390a

Please sign in to comment.