From 0fb834bcc97ee06eb9b6a409f9c8f7be543a4f7e Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 05:12:57 +0000 Subject: [PATCH 1/3] Update sbt-ci to 2.15.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index 4477b72..ee6b202 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,5 +1,5 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1") -addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.13.6") +addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.0") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.1") addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.11.13") addSbtPlugin("com.alejandrohdezma" % "sbt-github-header" % "0.11.13") From 472fba88041afafc2ffe1922c565b271eb0d638f Mon Sep 17 00:00:00 2001 From: "alejandrohdezma-steward[bot]" <80571129+alejandrohdezma-steward[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 05:13:08 +0000 Subject: [PATCH 2/3] Update sbt-modules to 0.3.0 --- project/plugins.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.sbt b/project/plugins.sbt index ee6b202..0cfc04b 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -5,7 +5,7 @@ addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.11.13") addSbtPlugin("com.alejandrohdezma" % "sbt-github-header" % "0.11.13") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafix-defaults" % "0.12.0") addSbtPlugin("com.alejandrohdezma" % "sbt-scalafmt-defaults" % "0.9.0") -addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.2.0") +addSbtPlugin("com.alejandrohdezma" % "sbt-modules" % "0.3.0") addSbtPlugin("com.alejandrohdezma" % "sbt-mdoc-toc" % "0.4.1") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") From b7b26128942a1609079257bc732ce72abf4de7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Herna=CC=81ndez?= Date: Mon, 19 Feb 2024 10:14:02 +0100 Subject: [PATCH 3/3] Add `sbt-version-policy` --- build.sbt | 5 +++-- project/plugins.sbt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index d60a82a..ae86718 100644 --- a/build.sbt +++ b/build.sbt @@ -1,10 +1,11 @@ ThisBuild / scalaVersion := _root_.scalafix.sbt.BuildInfo.scala212 ThisBuild / organization := "com.alejandrohdezma" ThisBuild / pluginCrossBuild / sbtVersion := "1.2.8" +ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible -addCommandAlias("ci-test", "fix --check; mdoc; scripted") +addCommandAlias("ci-test", "fix --check; versionPolicyCheck; mdoc; scripted") addCommandAlias("ci-docs", "github; mdoc; headerCreateAll") -addCommandAlias("ci-publish", "github; ci-release") +addCommandAlias("ci-publish", "versionCheck; github; ci-release") lazy val documentation = project .enablePlugins(MdocPlugin) diff --git a/project/plugins.sbt b/project/plugins.sbt index 0cfc04b..08125eb 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,5 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1") +addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.0") addSbtPlugin("com.alejandrohdezma" % "sbt-ci" % "2.15.0") addSbtPlugin("com.alejandrohdezma" % "sbt-fix" % "0.7.1") addSbtPlugin("com.alejandrohdezma" % "sbt-github-mdoc" % "0.11.13")