diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7077ab987..71ff10db7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -27,3 +27,7 @@ jobs: run: sbt scalafmtCheck Test/scalafmtCheck - run: echo "Previous step failed because code is not formatted. Run 'sbt scalafmt'" if: ${{ failure() }} + - name: Check domain classes + run: sbt generateDomainClassesCheck + - run: echo "Previous step failed because latest domain classes are not committed. Run 'sbt generateDomainClasses' (should be triggered automatically by `sbt compile`, so maybe you just forgot to commit?)" + if: ${{ failure() }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 38b3a176e..036a4e178 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,10 @@ jobs: run: sbt scalafmtCheck Test/scalafmtCheck - run: echo "Previous step failed because code is not formatted. Run 'sbt scalafmt'" if: ${{ failure() }} + - name: Check domain classes + run: sbt generateDomainClassesCheck + - run: echo "Previous step failed because latest domain classes are not committed. Run 'sbt generateDomainClasses' (should be triggered automatically by `sbt compile`, so maybe you just forgot to commit?)" + if: ${{ failure() }} - name: Compile and run tests run: sbt +test diff --git a/build.sbt b/build.sbt index 02a74551b..c9e7e50d1 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,8 @@ name := "codepropertygraph" // parsed by project/Versions.scala, updated by updateDependencies.sh -val overflowdbVersion = "1.180" -val overflowdbCodegenVersion = "2.101" +val overflowdbVersion = "1.181" +val overflowdbCodegenVersion = "2.103" inThisBuild( List( diff --git a/project/build.properties b/project/build.properties index 875b706a8..52413ab79 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.9.2 +sbt.version=1.9.3 diff --git a/project/plugins.sbt b/project/plugins.sbt index af58dbcbb..844d70bfe 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,4 +4,4 @@ addSbtPlugin("com.github.sbt" % "sbt-findbugs" % "2.0.0") addSbtPlugin("io.shiftleft" % "sbt-ci-release-early" % "2.0.18") addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1") addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.5") -addSbtPlugin("io.shiftleft" % "sbt-overflowdb" % "2.99") +addSbtPlugin("io.shiftleft" % "sbt-overflowdb" % "2.103")