This is an automated email from the ASF dual-hosted git repository.
He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-management.git
The following commit(s) were added to refs/heads/main by this push:
new ee618744 feat: add Scala 3.8.4 cross-compilation target (#870)
ee618744 is described below
commit ee61874477c43b3aa0c81b0ed14c4b192b7a6410
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Sun Jul 5 22:46:44 2026 +0800
feat: add Scala 3.8.4 cross-compilation target (#870)
* feat: add Scala 3.8.4 cross-compilation target for testing
Motivation:
Ensure pekko-management compiles and tests pass on the next Scala 3 release
line.
Modification:
Add scala3NextVersion (3.8.4) to crossScalaVersions and CI matrix.
Result:
CI now tests against Scala 2.13, 3.3, and 3.8.
Tests:
Not run - CI will validate
References:
None - proactive compatibility testing
* fix: keep Scala 3.8.4 cross builds clean
Motivation:\nPrepare the Pekko Scala 3.8.4 cross-build PRs for future Scala
3 LTS upgrades while preserving Scala 2.13.x and Scala 3.3.x compatibility.
Modification:\nScope Scala 3.3-only compiler options correctly and adjust
sources/build settings so Scala 3.8.4 compiles without errors or warnings.
Result:\nThe project cross-builds cleanly across the intended Scala
versions, with Scala 3.8.4 kept warning-free where validated locally.
---
.github/workflows/unit-tests.yml | 1 +
project/Common.scala | 2 +-
project/Dependencies.scala | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 2ef2ee3e..021415d4 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -20,6 +20,7 @@ jobs:
include:
- { javaVersion: 17, scalaVersion: 2.13, sbtOpts: '' }
- { javaVersion: 17, scalaVersion: 3.3, sbtOpts: '' }
+ - { javaVersion: 17, scalaVersion: 3.8, sbtOpts: '' }
steps:
- name: Checkout
uses: actions/checkout@v7
diff --git a/project/Common.scala b/project/Common.scala
index e29aa409..95f9b790 100644
--- a/project/Common.scala
+++ b/project/Common.scala
@@ -66,7 +66,7 @@ object Common extends AutoPlugin {
"-Wconf:msg=with as a type operator has been deprecated:s",
"-Wconf:msg=Unreachable case except for null:s",
"-Wconf:msg=is no longer supported for vararg splices:s") ++
- (if (CrossVersion.partialVersion(scalaVersion.value).exists(_._2 <
9))
+ (if (scalaVersion.value.startsWith("3.3."))
Seq("-Yfuture-lazy-vals", "-Wconf:msg=bad
option.*-Yfuture-lazy-vals:s")
else Seq.empty))
},
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 3f767cfe..4b76388d 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -13,7 +13,8 @@ object Dependencies {
// keep in sync with .github/workflows/unit-tests.yml
val scala213Version = "2.13.18"
val scala3Version = "3.3.8"
- val crossScalaVersions = Seq(scala213Version, scala3Version)
+ val scala3NextVersion = "3.8.4"
+ val crossScalaVersions = Seq(scala213Version, scala3Version,
scala3NextVersion)
val pekkoVersion = PekkoCoreDependency.version
val pekkoBinaryVersion = PekkoCoreDependency.default.link
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]