30
30
os : [ubuntu-latest]
31
31
scala : [2.12, 2.13, 3]
32
32
java : [temurin@8, temurin@17, graalvm@17]
33
- project : [rootJS, rootJVM, rootNative ]
33
+ project : [catsNative, catsJS, catsJVM ]
34
34
exclude :
35
35
- scala : 2.12
36
36
java : temurin@17
@@ -40,13 +40,13 @@ jobs:
40
40
java : temurin@17
41
41
- scala : 3
42
42
java : graalvm@17
43
- - project : rootJS
43
+ - project : catsNative
44
44
java : temurin@17
45
- - project : rootJS
45
+ - project : catsNative
46
46
java : graalvm@17
47
- - project : rootNative
47
+ - project : catsJS
48
48
java : temurin@17
49
- - project : rootNative
49
+ - project : catsJS
50
50
java : graalvm@17
51
51
runs-on : ${{ matrix.os }}
52
52
timeout-minutes : 60
@@ -106,14 +106,14 @@ jobs:
106
106
if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest'
107
107
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
108
108
109
- - name : scalaJSLink
110
- if : matrix.project == 'rootJS'
111
- run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult
112
-
113
109
- name : nativeLink
114
- if : matrix.project == 'rootNative '
110
+ if : matrix.project == 'catsNative '
115
111
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/nativeLink
116
112
113
+ - name : scalaJSLink
114
+ if : matrix.project == 'catsJS'
115
+ run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' Test/scalaJSLinkerResult
116
+
117
117
- name : Test
118
118
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
119
119
@@ -198,92 +198,92 @@ jobs:
198
198
if : matrix.java == 'graalvm@17' && steps.setup-java-graalvm-17.outputs.cache-hit == 'false'
199
199
run : sbt +update
200
200
201
- - name : Download target directories (2.12, rootJS )
201
+ - name : Download target directories (2.12, catsNative )
202
202
uses : actions/download-artifact@v4
203
203
with :
204
- name : target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJS
204
+ name : target-${{ matrix.os }}-${{ matrix.java }}-2.12-catsNative
205
205
206
- - name : Inflate target directories (2.12, rootJS )
206
+ - name : Inflate target directories (2.12, catsNative )
207
207
run : |
208
208
tar xf targets.tar
209
209
rm targets.tar
210
210
211
- - name : Download target directories (2.12, rootJVM )
211
+ - name : Download target directories (2.12, catsJS )
212
212
uses : actions/download-artifact@v4
213
213
with :
214
- name : target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootJVM
214
+ name : target-${{ matrix.os }}-${{ matrix.java }}-2.12-catsJS
215
215
216
- - name : Inflate target directories (2.12, rootJVM )
216
+ - name : Inflate target directories (2.12, catsJS )
217
217
run : |
218
218
tar xf targets.tar
219
219
rm targets.tar
220
220
221
- - name : Download target directories (2.12, rootNative )
221
+ - name : Download target directories (2.12, catsJVM )
222
222
uses : actions/download-artifact@v4
223
223
with :
224
- name : target-${{ matrix.os }}-${{ matrix.java }}-2.12-rootNative
224
+ name : target-${{ matrix.os }}-${{ matrix.java }}-2.12-catsJVM
225
225
226
- - name : Inflate target directories (2.12, rootNative )
226
+ - name : Inflate target directories (2.12, catsJVM )
227
227
run : |
228
228
tar xf targets.tar
229
229
rm targets.tar
230
230
231
- - name : Download target directories (2.13, rootJS )
231
+ - name : Download target directories (2.13, catsNative )
232
232
uses : actions/download-artifact@v4
233
233
with :
234
- name : target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootJS
234
+ name : target-${{ matrix.os }}-${{ matrix.java }}-2.13-catsNative
235
235
236
- - name : Inflate target directories (2.13, rootJS )
236
+ - name : Inflate target directories (2.13, catsNative )
237
237
run : |
238
238
tar xf targets.tar
239
239
rm targets.tar
240
240
241
- - name : Download target directories (2.13, rootJVM )
241
+ - name : Download target directories (2.13, catsJS )
242
242
uses : actions/download-artifact@v4
243
243
with :
244
- name : target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootJVM
244
+ name : target-${{ matrix.os }}-${{ matrix.java }}-2.13-catsJS
245
245
246
- - name : Inflate target directories (2.13, rootJVM )
246
+ - name : Inflate target directories (2.13, catsJS )
247
247
run : |
248
248
tar xf targets.tar
249
249
rm targets.tar
250
250
251
- - name : Download target directories (2.13, rootNative )
251
+ - name : Download target directories (2.13, catsJVM )
252
252
uses : actions/download-artifact@v4
253
253
with :
254
- name : target-${{ matrix.os }}-${{ matrix.java }}-2.13-rootNative
254
+ name : target-${{ matrix.os }}-${{ matrix.java }}-2.13-catsJVM
255
255
256
- - name : Inflate target directories (2.13, rootNative )
256
+ - name : Inflate target directories (2.13, catsJVM )
257
257
run : |
258
258
tar xf targets.tar
259
259
rm targets.tar
260
260
261
- - name : Download target directories (3, rootJS )
261
+ - name : Download target directories (3, catsNative )
262
262
uses : actions/download-artifact@v4
263
263
with :
264
- name : target-${{ matrix.os }}-${{ matrix.java }}-3-rootJS
264
+ name : target-${{ matrix.os }}-${{ matrix.java }}-3-catsNative
265
265
266
- - name : Inflate target directories (3, rootJS )
266
+ - name : Inflate target directories (3, catsNative )
267
267
run : |
268
268
tar xf targets.tar
269
269
rm targets.tar
270
270
271
- - name : Download target directories (3, rootJVM )
271
+ - name : Download target directories (3, catsJS )
272
272
uses : actions/download-artifact@v4
273
273
with :
274
- name : target-${{ matrix.os }}-${{ matrix.java }}-3-rootJVM
274
+ name : target-${{ matrix.os }}-${{ matrix.java }}-3-catsJS
275
275
276
- - name : Inflate target directories (3, rootJVM )
276
+ - name : Inflate target directories (3, catsJS )
277
277
run : |
278
278
tar xf targets.tar
279
279
rm targets.tar
280
280
281
- - name : Download target directories (3, rootNative )
281
+ - name : Download target directories (3, catsJVM )
282
282
uses : actions/download-artifact@v4
283
283
with :
284
- name : target-${{ matrix.os }}-${{ matrix.java }}-3-rootNative
284
+ name : target-${{ matrix.os }}-${{ matrix.java }}-3-catsJVM
285
285
286
- - name : Inflate target directories (3, rootNative )
286
+ - name : Inflate target directories (3, catsJVM )
287
287
run : |
288
288
tar xf targets.tar
289
289
rm targets.tar
@@ -372,7 +372,7 @@ jobs:
372
372
- name : Submit Dependencies
373
373
uses : scalacenter/sbt-dependency-submission@v2
374
374
with :
375
- modules-ignore : rootjs_2 .12 rootjs_2 .13 rootjs_3 docs_2.12 docs_2.13 docs_3 cats-tests_sjs1_2.12 cats-tests_sjs1_2.13 cats-tests_sjs1_3 rootjvm_2 .12 rootjvm_2 .13 rootjvm_3 rootnative_2 .12 rootnative_2 .13 rootnative_3 cats-tests_2 .12 cats-tests_2 .13 cats-tests_3 bincompattest_2.12 bincompattest_2.13 bincompattest_3 cats-tests_native0.5_2.12 cats-tests_native0.5_2.13 cats-tests_native0.5_3 cats-bench_2.12 cats-bench_2.13 cats-bench_3
375
+ modules-ignore : catsnative_2 .12 catsnative_2 .13 catsnative_3 docs_2.12 docs_2.13 docs_3 cats-tests_sjs1_2.12 cats-tests_sjs1_2.13 cats-tests_sjs1_3 cats-tests_2 .12 cats-tests_2 .13 cats-tests_3 catsjs_2 .12 catsjs_2 .13 catsjs_3 catsjvm_2 .12 catsjvm_2 .13 catsjvm_3 bincompattest_2.12 bincompattest_2.13 bincompattest_3 cats-tests_native0.5_2.12 cats-tests_native0.5_2.13 cats-tests_native0.5_3 cats-bench_2.12 cats-bench_2.13 cats-bench_3
376
376
configs-ignore : test scala-tool scala-doc-tool test-internal
377
377
378
378
validate-steward :
@@ -400,12 +400,12 @@ jobs:
400
400
401
401
- run : scala-steward validate-repo-config .scala-steward.conf
402
402
403
- scalafix :
404
- name : Scalafix
403
+ site :
404
+ name : Generate Site
405
405
strategy :
406
406
matrix :
407
407
os : [ubuntu-latest]
408
- java : [temurin@8 ]
408
+ java : [temurin@17 ]
409
409
runs-on : ${{ matrix.os }}
410
410
steps :
411
411
- name : Install sbt
@@ -456,17 +456,23 @@ jobs:
456
456
if : matrix.java == 'graalvm@17' && steps.setup-java-graalvm-17.outputs.cache-hit == 'false'
457
457
run : sbt +update
458
458
459
- - name : Scalafix tests
460
- run : |
461
- cd scalafix
462
- sbt test
459
+ - name : Generate site
460
+ run : sbt docs/tlSite
463
461
464
- site :
465
- name : Generate Site
462
+ - name : Publish site
463
+ if : github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
464
+
465
+ with :
466
+ github_token : ${{ secrets.GITHUB_TOKEN }}
467
+ publish_dir : site/target/docs/site
468
+ keep_files : true
469
+
470
+ scalafix :
471
+ name : Scalafix
466
472
strategy :
467
473
matrix :
468
474
os : [ubuntu-latest]
469
- java : [temurin@17 ]
475
+ java : [temurin@8 ]
470
476
runs-on : ${{ matrix.os }}
471
477
steps :
472
478
- name : Install sbt
@@ -517,13 +523,7 @@ jobs:
517
523
if : matrix.java == 'graalvm@17' && steps.setup-java-graalvm-17.outputs.cache-hit == 'false'
518
524
run : sbt +update
519
525
520
- - name : Generate site
521
- run : sbt docs/tlSite
522
-
523
- - name : Publish site
524
- if : github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
525
-
526
- with :
527
- github_token : ${{ secrets.GITHUB_TOKEN }}
528
- publish_dir : site/target/docs/site
529
- keep_files : true
526
+ - name : Scalafix tests
527
+ run : |
528
+ cd scalafix
529
+ sbt test
0 commit comments