Skip to content

Commit 7b6e94e

Browse files
committed
chore: add MiMa checks for scala3-interfaces
1 parent 98867de commit 7b6e94e

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

.github/workflows/stdlib.yaml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,23 @@ jobs:
4848
- name: Compile `scala3-library-nonbootstrapped`
4949
run: ./project/scripts/sbt scala3-library-nonbootstrapped/compile
5050

51+
scala3-interfaces:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: Git Checkout
55+
uses: actions/checkout@v5
56+
57+
- name: Set up JDK 17
58+
uses: actions/setup-java@v5
59+
with:
60+
distribution: 'temurin'
61+
java-version: 17
62+
cache: 'sbt'
63+
64+
- uses: sbt/setup-sbt@v1
65+
- name: Compile `scala3-interfaces`
66+
run: ./project/scripts/sbt scala3-interfaces/compile
67+
5168
tasty-core-nonbootstrapped:
5269
runs-on: ubuntu-latest
5370
needs: [scala3-library-nonbootstrapped]
@@ -67,7 +84,7 @@ jobs:
6784

6885
scala3-compiler-nonbootstrapped:
6986
runs-on: ubuntu-latest
70-
needs: [tasty-core-nonbootstrapped, scala3-library-nonbootstrapped]
87+
needs: [tasty-core-nonbootstrapped, scala3-library-nonbootstrapped, scala3-interfaces]
7188
steps:
7289
- name: Git Checkout
7390
uses: actions/checkout@v5
@@ -155,7 +172,7 @@ jobs:
155172

156173
scala3-compiler-bootstrapped:
157174
runs-on: ubuntu-latest
158-
needs: [tasty-core-bootstrapped, scala3-library-bootstrapped]
175+
needs: [tasty-core-bootstrapped, scala3-library-bootstrapped, scala3-interfaces]
159176
steps:
160177
- name: Git Checkout
161178
uses: actions/checkout@v5
@@ -302,6 +319,24 @@ jobs:
302319
- name: Report MiMa issues in `scala-library-nonbootstrapped`
303320
run: ./project/scripts/sbt scala-library-nonbootstrapped/mimaReportBinaryIssues
304321

322+
mima-scala3-interfaces:
323+
runs-on: ubuntu-latest
324+
needs: scala3-interfaces
325+
steps:
326+
- name: Git Checkout
327+
uses: actions/checkout@v5
328+
329+
- name: Set up JDK 17
330+
uses: actions/setup-java@v5
331+
with:
332+
distribution: 'temurin'
333+
java-version: 17
334+
cache: 'sbt'
335+
336+
- uses: sbt/setup-sbt@v1
337+
- name: Report MiMa issues in `scala3-interfaces`
338+
run: ./project/scripts/sbt scala3-interfaces/mimaReportBinaryIssues
339+
305340
mima-scala-library-bootstrapped:
306341
runs-on: ubuntu-latest
307342
needs: scala-library-bootstrapped

0 commit comments

Comments
 (0)