Skip to content

Commit

Permalink
Merge pull request #108 from mkurz/flyway-10.21.0
Browse files Browse the repository at this point in the history
Flyway 10.21.0 (help needed)
  • Loading branch information
mkurz authored Nov 16, 2024
2 parents 9cc77b6 + b2675e6 commit 2ca2c29
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 26 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,14 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
scala: [2.12.20]
java: [temurin@8, temurin@17]
exclude:
- java: temurin@8
os: macos-latest
java: [temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
Expand Down Expand Up @@ -76,22 +65,14 @@ jobs:
matrix:
os: [ubuntu-latest]
scala: [2.12.20]
java: [temurin@8]
java: [temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@8)
if: matrix.java == 'temurin@8'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
Expand Down
6 changes: 1 addition & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lazy val repoSlug = "sbt/flyway-sbt"
lazy val flywayVersion = "9.22.3"
lazy val flywayVersion = "10.21.0"
lazy val scala212 = "2.12.20"
lazy val scala3 = "3.3.4"

Expand Down Expand Up @@ -88,9 +88,5 @@ ThisBuild / githubWorkflowPublish := Seq(
)
ThisBuild / githubWorkflowOSes := Seq("ubuntu-latest", "macos-latest")
ThisBuild / githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("8"),
JavaSpec.temurin("17")
)
ThisBuild / githubWorkflowBuildMatrixExclusions ++= Seq(
MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")),
)
2 changes: 2 additions & 0 deletions src/sbt-test/flyway-sbt/test1/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sys.props.get("plugin.version") match {
case _ => sys.error("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}

libraryDependencies += "org.flywaydb" % "flyway-database-hsqldb" % "10.21.0"
2 changes: 2 additions & 0 deletions src/sbt-test/flyway-sbt/test2/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sys.props.get("plugin.version") match {
case _ => sys.error("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}

libraryDependencies += "org.flywaydb" % "flyway-database-hsqldb" % "10.21.0"
2 changes: 2 additions & 0 deletions src/sbt-test/flyway-sbt/test3/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sys.props.get("plugin.version") match {
case _ => sys.error("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}

libraryDependencies += "org.flywaydb" % "flyway-database-hsqldb" % "10.21.0"
2 changes: 2 additions & 0 deletions src/sbt-test/flyway-sbt/test4/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sys.props.get("plugin.version") match {
case _ => sys.error("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}

libraryDependencies += "org.flywaydb" % "flyway-database-hsqldb" % "10.21.0"
2 changes: 2 additions & 0 deletions src/sbt-test/flyway-sbt/test5/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sys.props.get("plugin.version") match {
case _ => sys.error("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
}

libraryDependencies += "org.flywaydb" % "flyway-database-hsqldb" % "10.21.0"

0 comments on commit 2ca2c29

Please sign in to comment.