Skip to content

Commit

Permalink
Bump scala to 3.3.4, scala-cli to 1.5.1 and scalatest to 3.2.19
Browse files Browse the repository at this point in the history
  • Loading branch information
prolativ committed Oct 15, 2024
1 parent acb3165 commit 108da1d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- name: Setup coursier cache
uses: coursier/[email protected]
- name: Setup scala-cli
uses: VirtusLab/scala-cli-setup@v1.4.0
uses: VirtusLab/scala-cli-setup@v1.5.1
- name: Run tests
run: scala-cli test . --jvm temurin:11
4 changes: 2 additions & 2 deletions project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//> using scala "3.3.3"
//> using scala "3.3.4"
//> using dep "org.apache.spark:spark-core_2.13:3.2.0"
//> using dep "org.apache.spark:spark-sql_2.13:3.2.0"
//> using test.dep "org.scalatest::scalatest::3.2.16"
//> using test.dep "org.scalatest::scalatest::3.2.19"
2 changes: 1 addition & 1 deletion src/main/types/Encoder.scala
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ object StructEncoder:
}
end fromMirrorImpl

inline given optFromMirror[A](using encoder: StructEncoder[A]): (Encoder[Option[A]] { type ColumnType = StructOptType[encoder.StructSchema] }) =
/* inline */ given optFromMirror[A](using encoder: StructEncoder[A]): (Encoder[Option[A]] { type ColumnType = StructOptType[encoder.StructSchema] }) =
new Encoder[Option[A]]:
override type ColumnType = StructOptType[encoder.StructSchema]
override def encode(value: Option[A]): Any = value.map(encoder.encode).orNull
Expand Down

0 comments on commit 108da1d

Please sign in to comment.