Skip to content

Commit 7e197d7

Browse files
committed
Merge remote-tracking branch 'origin/master' into community-build-2.13
2 parents 0ce47b0 + 71ffa5e commit 7e197d7

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/actions.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,18 @@ jobs:
1515
with:
1616
java-version: 8
1717
- name: Run tests
18-
run: ./mill -i __.publishArtifacts __.test
18+
run: ./mill -i all __.publishArtifacts __.test
19+
check-binary-compatibility:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
with:
24+
fetch-depth: 0
25+
- uses: actions/setup-java@v1
26+
with:
27+
java-version: 8
28+
- name: Check Binary Compatibility
29+
run: ./mill -i __.mimaReportBinaryIssues
1930

2031
publish-sonatype:
2132
if: github.repository == 'com-lihaoyi/utest' && contains(github.ref, 'refs/tags/')

build.sc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import mill._, scalalib._, scalajslib._, scalanativelib._, publish._
22
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version_mill0.9:0.1.1`
33
import de.tobiasroeser.mill.vcs.version.VcsVersion
4+
import $ivy.`com.github.lolgab::mill-mima_mill0.9:0.0.4`
5+
import com.github.lolgab.mill.mima._
46

57
val dottyVersions = sys.props.get("dottyVersion").toList
68

@@ -18,9 +20,11 @@ val scalaNativeVersions = for {
1820
scalaNativeV <- Seq("0.4.0")
1921
} yield (scalaV, scalaNativeV)
2022

21-
trait UtestModule extends PublishModule {
23+
trait UtestModule extends PublishModule with Mima {
2224
def artifactName = "utest"
2325

26+
def mimaPreviousVersions = VcsVersion.vcsState().lastTag.toSeq
27+
2428
def publishVersion = VcsVersion.vcsState().format()
2529

2630
def pomSettings = PomSettings(

mill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This is a wrapper script, that automatically download mill from GitHub release pages
44
# You can give the required mill version with MILL_VERSION env variable
55
# If no version is given, it falls back to the value of DEFAULT_MILL_VERSION
6-
DEFAULT_MILL_VERSION=0.9.6-61-bd7927
6+
DEFAULT_MILL_VERSION=0.9.8
77

88
set -e
99

0 commit comments

Comments
 (0)