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

Build on Java 11 #125

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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()