Skip to content

Commit f3209d9

Browse files
committed
Merge branch 'master' into update/scala-compiler-2.13.18
# Conflicts: # .github/workflows/ci.yml # project/Commons.scala
2 parents 8bbf6f4 + 4bbde20 commit f3209d9

File tree

2 files changed

+29
-16
lines changed

2 files changed

+29
-16
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,17 @@ on:
1616

1717
env:
1818
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
JAVA_OPTS: '-Dfile.encoding=UTF-8 -Xmx4G'
1920

2021
jobs:
2122
build:
2223
name: Build and Test
2324
strategy:
25+
fail-fast: false
2426
matrix:
2527
os: [ubuntu-latest]
2628
scala: [2.13.18]
27-
java: [temurin@17, temurin@21]
29+
java: [temurin@17, temurin@21, temurin@25]
2830
runs-on: ${{ matrix.os }}
2931
steps:
3032
- name: Checkout current branch (full)
@@ -48,16 +50,22 @@ jobs:
4850
java-version: 21
4951
cache: sbt
5052

53+
- name: Setup Java (temurin@25)
54+
if: matrix.java == 'temurin@25'
55+
uses: actions/setup-java@v5
56+
with:
57+
distribution: temurin
58+
java-version: 25
59+
cache: sbt
60+
5161
- name: Setup sbt
5262
uses: sbt/setup-sbt@v1
5363

5464
- name: Setup Node.js
55-
uses: actions/setup-node@v2
56-
with:
57-
node-version: 12
65+
uses: actions/setup-node@v4
5866

5967
- name: Setup MongoDB
60-
uses: supercharge/[email protected].0
68+
uses: supercharge/[email protected].1
6169
with:
6270
mongodb-version: 8.0
6371
mongodb-replica-set: test-rs
@@ -75,7 +83,7 @@ jobs:
7583
strategy:
7684
matrix:
7785
os: [ubuntu-latest]
78-
scala: [2.13.17]
86+
scala: [2.13.18]
7987
java: [temurin@17]
8088
runs-on: ${{ matrix.os }}
8189
steps:
@@ -100,6 +108,14 @@ jobs:
100108
java-version: 21
101109
cache: sbt
102110

111+
- name: Setup Java (temurin@25)
112+
if: matrix.java == 'temurin@25'
113+
uses: actions/setup-java@v5
114+
with:
115+
distribution: temurin
116+
java-version: 25
117+
cache: sbt
118+
103119
- name: Setup sbt
104120
uses: sbt/setup-sbt@v1
105121

project/Commons.scala

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ object Commons extends ProjectGroup("commons") {
2828
val scalatestVersion = "3.2.19"
2929
val scalatestplusScalacheckVersion = "3.2.14.0"
3030
val scalacheckVersion = "1.19.0"
31-
val jettyVersion = "12.1.1"
31+
val jettyVersion = "12.1.4"
3232
val mongoVersion = "5.6.1"
33-
val springVersion = "6.2.11"
33+
val springVersion = "6.2.13"
3434
val typesafeConfigVersion = "1.4.5"
3535
val commonsIoVersion = "1.3.2" // test only
3636
val scalaLoggingVersion = "3.9.6"
@@ -66,30 +66,27 @@ object Commons extends ProjectGroup("commons") {
6666
),
6767

6868
scalaVersion := "2.13.18",
69-
compileOrder := CompileOrder.Mixed,
7069

7170
githubWorkflowTargetTags ++= Seq("v*"),
72-
7371
githubWorkflowArtifactUpload := false,
74-
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"), JavaSpec.temurin("21")),
72+
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"), JavaSpec.temurin("21"), JavaSpec.temurin("25")),
73+
githubWorkflowEnv += "JAVA_OPTS" -> "-Dfile.encoding=UTF-8 -Xmx4G",
74+
githubWorkflowBuildMatrixFailFast := Some(false),
7575
githubWorkflowBuildPreamble ++= Seq(
7676
WorkflowStep.Use(
77-
UseRef.Public("actions", "setup-node", "v2"),
77+
UseRef.Public("actions", "setup-node", "v4"),
7878
name = Some("Setup Node.js"),
79-
params = Map("node-version" -> "12")
8079
),
8180
WorkflowStep.Use(
82-
UseRef.Public("supercharge", "mongodb-github-action", "1.12.0"),
81+
UseRef.Public("supercharge", "mongodb-github-action", "1.12.1"),
8382
name = Some("Setup MongoDB"),
8483
params = Map(
8584
"mongodb-version" -> "8.0",
8685
"mongodb-replica-set" -> "test-rs",
8786
)
8887
),
8988
),
90-
9189
githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))),
92-
9390
githubWorkflowPublish := Seq(WorkflowStep.Sbt(
9491
List("ci-release"),
9592
env = Map(

0 commit comments

Comments
 (0)