From 72ba7de7d8a0dcf7b847c83da25c98c942f96412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BE=AA?= Date: Fri, 23 Aug 2024 23:17:38 +1200 Subject: [PATCH] Scala Native 0.5 --- .github/workflows/ci.yml | 24 ++++++++++++------------ build.sbt | 10 +++++----- project/plugins.sbt | 6 +++--- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2567a9521..a1af81815 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,13 +28,13 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.13.10, 3.2.2] + scala: [2.13.10, 3.3.3] java: [temurin@8, temurin@11, temurin@17] project: [rootJS, rootJVM, rootNative] exclude: - - scala: 3.2.2 + - scala: 3.3.3 java: temurin@11 - - scala: 3.2.2 + - scala: 3.3.3 java: temurin@17 - project: rootJS java: temurin@11 @@ -257,32 +257,32 @@ jobs: tar xf targets.tar rm targets.tar - - name: Download target directories (3.2.2, rootJS) + - name: Download target directories (3.3.3, rootJS) uses: actions/download-artifact@v3 with: - name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootJS + name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.3-rootJS - - name: Inflate target directories (3.2.2, rootJS) + - name: Inflate target directories (3.3.3, rootJS) run: | tar xf targets.tar rm targets.tar - - name: Download target directories (3.2.2, rootJVM) + - name: Download target directories (3.3.3, rootJVM) uses: actions/download-artifact@v3 with: - name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootJVM + name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.3-rootJVM - - name: Inflate target directories (3.2.2, rootJVM) + - name: Inflate target directories (3.3.3, rootJVM) run: | tar xf targets.tar rm targets.tar - - name: Download target directories (3.2.2, rootNative) + - name: Download target directories (3.3.3, rootNative) uses: actions/download-artifact@v3 with: - name: target-${{ matrix.os }}-${{ matrix.java }}-3.2.2-rootNative + name: target-${{ matrix.os }}-${{ matrix.java }}-3.3.3-rootNative - - name: Inflate target directories (3.2.2, rootNative) + - name: Inflate target directories (3.3.3, rootNative) run: | tar xf targets.tar rm targets.tar diff --git a/build.sbt b/build.sbt index 01e6726ec..bfd4ad5fc 100644 --- a/build.sbt +++ b/build.sbt @@ -14,19 +14,19 @@ val header = """|*************************************************************** import scala.language.existentials -lazy val scalaCheckVersion = "1.17.0" +lazy val scalaCheckVersion = "1.18.0" -lazy val munit = "1.0.0-M7" -lazy val munitDiscipline = "2.0.0-M3" +lazy val munit = "1.0.1" +lazy val munitDiscipline = "2.0.0" -lazy val algebraVersion = "2.9.0" +lazy val algebraVersion = "2.12.0" lazy val apfloatVersion = "1.10.1" lazy val jscienceVersion = "4.3.1" lazy val apacheCommonsMath3Version = "3.6.1" val Scala213 = "2.13.10" -val Scala3 = "3.2.2" +val Scala3 = "3.3.3" Global / onChangedBuildSource := ReloadOnSourceChanges diff --git a/project/plugins.sbt b/project/plugins.sbt index 5e1c3b24a..824f50629 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -2,9 +2,9 @@ val sbtTypelevelVersion = "0.4.21" addSbtPlugin("org.typelevel" % "sbt-typelevel" % sbtTypelevelVersion) addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % sbtTypelevelVersion) -addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.1") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.16") +addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.5") addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0") addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")