Skip to content

Commit 284afde

Browse files
committed
chore: add CI jobs for MiMa in stdlib
1 parent 6bbad77 commit 284afde

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/stdlib.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,46 @@ jobs:
280280
- name: Compile `scaladoc`
281281
run: ./project/scripts/sbt scaladoc-new/compile
282282

283+
#################################################################################################
284+
########################################### MiMa JOBS ###########################################
285+
#################################################################################################
286+
287+
mima-scala-library-nonbootstrapped:
288+
runs-on: ubuntu-latest
289+
needs: scala-library-nonbootstrapped
290+
steps:
291+
- name: Git Checkout
292+
uses: actions/checkout@v5
293+
294+
- name: Set up JDK 17
295+
uses: actions/setup-java@v5
296+
with:
297+
distribution: 'temurin'
298+
java-version: 17
299+
cache: 'sbt'
300+
301+
- uses: sbt/setup-sbt@v1
302+
- name: Report MiMa issues in `scala-library-nonbootstrapped`
303+
run: ./project/scripts/sbt scala-library-nonbootstrapped/mimaReportBinaryIssues
304+
305+
mima-scala-library-bootstrapped:
306+
runs-on: ubuntu-latest
307+
needs: scala-library-bootstrapped
308+
steps:
309+
- name: Git Checkout
310+
uses: actions/checkout@v5
311+
312+
- name: Set up JDK 17
313+
uses: actions/setup-java@v5
314+
with:
315+
distribution: 'temurin'
316+
java-version: 17
317+
cache: 'sbt'
318+
319+
- uses: sbt/setup-sbt@v1
320+
- name: Report MiMa issues in `scala-library-bootstrapped`
321+
run: ./project/scripts/sbt scala-library-bootstrapped/mimaReportBinaryIssues
322+
283323
#################################################################################################
284324
########################################### TEST JOBS ###########################################
285325
#################################################################################################

0 commit comments

Comments
 (0)