Skip to content

Commit 6137bd5

Browse files
authored
Merge pull request #37 from VirtusLab/bump-scala
Bump scala to 3.3.4, scala-cli to 1.5.1 and scalatest to 3.2.19
2 parents acb3165 + 54f7ab6 commit 6137bd5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Setup coursier cache
1616
uses: coursier/[email protected]
1717
- name: Setup scala-cli
18-
uses: VirtusLab/scala-cli-setup@v1.4.0
18+
uses: VirtusLab/scala-cli-setup@v1.5.1
1919
- name: Run tests
2020
run: scala-cli test . --jvm temurin:11

project.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//> using scala "3.3.3"
1+
//> using scala "3.3.4"
22
//> using dep "org.apache.spark:spark-core_2.13:3.2.0"
33
//> using dep "org.apache.spark:spark-sql_2.13:3.2.0"
4-
//> using test.dep "org.scalatest::scalatest::3.2.16"
4+
//> using test.dep "org.scalatest::scalatest::3.2.19"

src/main/types/Encoder.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ object StructEncoder:
172172
}
173173
end fromMirrorImpl
174174

175-
inline given optFromMirror[A](using encoder: StructEncoder[A]): (Encoder[Option[A]] { type ColumnType = StructOptType[encoder.StructSchema] }) =
175+
given optFromMirror[A](using encoder: StructEncoder[A]): (Encoder[Option[A]] { type ColumnType = StructOptType[encoder.StructSchema] }) =
176176
new Encoder[Option[A]]:
177177
override type ColumnType = StructOptType[encoder.StructSchema]
178178
override def encode(value: Option[A]): Any = value.map(encoder.encode).orNull

0 commit comments

Comments
 (0)