Skip to content

Commit 490d09b

Browse files
authoredNov 14, 2022
Scala3 support (#1710)
1 parent eebf3b7 commit 490d09b

File tree

44 files changed

+168
-131
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+168
-131
lines changed
 

‎.github/workflows/build-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
strategy:
7272
fail-fast: false
7373
matrix:
74-
SCALA_VERSION: [2.12, 2.13]
74+
SCALA_VERSION: [2.12, 2.13, 3.1]
7575
# use 1.8 when https://github.com/akka/akka-grpc/issues/1332 is fixed
7676
JABBA_JDK: [1.8.0-275, 1.11]
7777
steps:
@@ -104,7 +104,7 @@ jobs:
104104
- test-set: gen-java
105105
scala-version: 2.12
106106
- test-set: scala3
107-
scala-version: 2.13
107+
scala-version: 3.1
108108
steps:
109109
- name: Checkout
110110
uses: actions/checkout@v2

‎benchmarks/src/main/scala/akka/grpc/BenchRunner.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object BenchRunner {
2525
val opts = new CommandLineOptions(args2: _*)
2626
val results = new Runner(opts).run()
2727

28-
val report = results.asScala.map { result: RunResult =>
28+
val report = results.asScala.map { (result: RunResult) =>
2929
val bench = result.getParams.getBenchmark
3030
val params =
3131
result.getParams.getParamsKeys.asScala.map(key => s"$key=${result.getParams.getParam(key)}").mkString("_")

0 commit comments

Comments
 (0)