From 8dba607ed85d408467f39c329e7adc864d439c0f Mon Sep 17 00:00:00 2001 From: Adrien Piquerez Date: Fri, 15 Jul 2022 11:07:33 +0200 Subject: [PATCH] Bump sbt-dependency-submission Fix the build on 2.13.8 to submit the corresponding graphs: Remove 2.13.8 in the crossScalaVersions of sbt-dependency-graph scripted-sbt-redux and scripted-sbt because they depend on sbtProj. --- .github/workflows/dependency-graph.yml | 4 +--- build.sbt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml index 3a865c1d4..7caea8278 100644 --- a/.github/workflows/dependency-graph.yml +++ b/.github/workflows/dependency-graph.yml @@ -9,6 +9,4 @@ jobs: runs-on: ubuntu-latest # or windows-latest, or macOS-latest steps: - uses: actions/checkout@v3 - - uses: scalacenter/sbt-dependency-graph-action@v1 - with: - scala-versions: 2.12.16 + - uses: scalacenter/sbt-dependency-submission@v2 diff --git a/build.sbt b/build.sbt index 7dbc9482c..8ffea7edc 100644 --- a/build.sbt +++ b/build.sbt @@ -622,6 +622,7 @@ lazy val scriptedSbtReduxProj = (project in file("scripted-sbt-redux")) .dependsOn(sbtProj % "compile;test->test", commandProj, utilLogging, utilScripted) .settings( baseSettings, + crossScalaVersions := Seq(baseScalaVersion), name := "Scripted sbt Redux", libraryDependencies ++= Seq(launcherInterface % "provided"), mimaSettings, @@ -633,6 +634,7 @@ lazy val scriptedSbtOldProj = (project in file("scripted-sbt-old")) .dependsOn(scriptedSbtReduxProj) .settings( baseSettings, + crossScalaVersions := Seq(baseScalaVersion), name := "Scripted sbt", mimaSettings, mimaBinaryIssueFilters ++= Seq( @@ -660,6 +662,7 @@ lazy val dependencyTreeProj = (project in file("dependency-tree")) .settings( sbtPlugin := true, baseSettings, + crossScalaVersions := Seq(baseScalaVersion), name := "sbt-dependency-tree", publishMavenStyle := true, // mimaSettings,