@@ -22,8 +22,9 @@ val flagsFor13 = Seq(
2222 " -opt:l:method"
2323)
2424
25- ThisBuild / crossScalaVersions := Seq (currentScalaVersion, scala213Version)
26- ThisBuild / scalaVersion := (ThisBuild / crossScalaVersions).value.last
25+ ThisBuild / crossScalaVersions := Seq (currentScalaVersion, scala213Version)
26+ ThisBuild / scalaVersion := (ThisBuild / crossScalaVersions).value.last
27+ ThisBuild / mimaFailOnNoPrevious := false // Set this to true when we start caring about binary compatibility
2728
2829ThisBuild / Test / scalacOptions += " -Yrangepos"
2930
@@ -86,6 +87,25 @@ lazy val webmodels = crossProject(JSPlatform, JVMPlatform)
8687lazy val webmodelsJVM = webmodels.jvm
8788lazy val webmodelsJS = webmodels.js
8889
89- ThisBuild / githubWorkflowPublishTargetBranches := Seq ()
90- // This is set to false due to https://github.com/sbt/sbt/issues/6468
90+ ThisBuild / githubWorkflowBuild := Seq (
91+ WorkflowStep .Sbt (List (" mimaReportBinaryIssues" ), name = Some (" Report binary compatibility issues" )),
92+ WorkflowStep .Sbt (List (" clean" , " coverage" , " test" ), name = Some (" Build project" ))
93+ )
94+
95+ ThisBuild / githubWorkflowBuildPostamble ++= Seq (
96+ // See https://github.com/scoverage/sbt-coveralls#github-actions-integration
97+ WorkflowStep .Sbt (
98+ List (" coverageReport" , " coverageAggregate" , " coveralls" ),
99+ name = Some (" Upload coverage data to Coveralls" ),
100+ env = Map (
101+ " COVERALLS_REPO_TOKEN" -> " ${{ secrets.GITHUB_TOKEN }}" ,
102+ " COVERALLS_FLAG_NAME" -> " Scala ${{ matrix.scala }}"
103+ )
104+ )
105+ )
106+
107+ // This is causing problems with env variables being passed in, see
108+ // https://github.com/sbt/sbt/issues/6468
91109ThisBuild / githubWorkflowUseSbtThinClient := false
110+
111+ ThisBuild / githubWorkflowPublishTargetBranches := Seq ()
0 commit comments