From 02985f2b3de981b87b196eac2dd02758eecc4c3b Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 17 Apr 2024 18:32:51 +0000 Subject: [PATCH 1/3] Update nscplugin, sbt-scala-native to 0.5.1 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 3d6f3f17..181435c0 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.1") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") From 95da84e7e6b31d32f6a9cc8e9b701e8af3692938 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Thu, 2 May 2024 08:38:02 +0200 Subject: [PATCH 2/3] deps: bump scalameta to 4.9.3 --- .gitignore | 2 ++ build.sbt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ad137db7..bdc040fa 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ # Build Server Protocol .bsp/ +.metals/ +metals.sbt # SBT specific target/ diff --git a/build.sbt b/build.sbt index a0932d91..ac1b876d 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ import sbtcrossproject.CrossProject import sbtcrossproject.CrossType lazy val munitVersion = "0.7.29" -lazy val scalametaVersion = "4.9.0" +lazy val scalametaVersion = "4.9.3" lazy val defaultScala212 = "2.12.19" lazy val defaultScala213 = "2.13.13" lazy val defaultScala3 = "3.3.0" From 3ef4a98bbaf78b6b4d5e98d4bc2ea9c0a98582b5 Mon Sep 17 00:00:00 2001 From: Chris Kipp Date: Thu, 2 May 2024 08:46:51 +0200 Subject: [PATCH 3/3] deps: bump munit to v1.0.0-RC1 to support native --- build.sbt | 2 +- plugin/src/test/scala/scoverage/PluginASTSupportTest.scala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index ac1b876d..fa4b5d99 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ import sbtcrossproject.CrossProject import sbtcrossproject.CrossType -lazy val munitVersion = "0.7.29" +lazy val munitVersion = "1.0.0-RC1" lazy val scalametaVersion = "4.9.3" lazy val defaultScala212 = "2.12.19" lazy val defaultScala213 = "2.13.13" diff --git a/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala b/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala index d504e050..81af5d38 100644 --- a/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala +++ b/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala @@ -3,12 +3,12 @@ package scoverage import scala.concurrent.Future import munit.FunSuite -import munit.GenericAfterEach +import munit.AfterEach /** @author Stephen Samuel */ class PluginASTSupportTest extends FunSuite with MacroSupport { - override def afterEach(context: GenericAfterEach[Future[Any]]): Unit = { + override def afterEach(context: AfterEach): Unit = { val compiler = ScoverageCompiler.default assert(!compiler.reporter.hasErrors) }