Skip to content

Commit

Permalink
Added check-binary-compatibility to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeseng authored and mkurz committed Oct 6, 2022
1 parent f5eb41d commit 0e6e7d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
with:
cmd: sbt validateCode

check-binary-compatibility:
name: Binary Compatibility
uses: playframework/.github/.github/workflows/binary-check.yml@v2

check-docs:
name: Docs
uses: playframework/.github/.github/workflows/cmd.yml@v2
Expand All @@ -19,6 +23,7 @@ jobs:
runs-on: macos-latest
needs:
- "check-code-style"
- "check-binary-compatibility"
- "check-docs"
steps:
- name: Checkout
Expand Down
5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ lazy val mimaSettings = Seq(
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.scalatestplus.play.PlaySpec.*"),
ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.scalatestplus.play.PlaySpec.*"),
ProblemFilters.exclude[DirectMissingMethodProblem]("org.scalatestplus.play.MixedPlaySpec.*"),
// Dropping deprecated phantom-js support.
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSFactory"),
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSFactory$"),
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSInfo"),
ProblemFilters.exclude[MissingClassProblem]("org.scalatestplus.play.PhantomJSInfo$")
),
mimaPreviousArtifacts := previousVersion.map(organization.value %% name.value % _).toSet
)
Expand Down

0 comments on commit 0e6e7d2

Please sign in to comment.