@@ -24,10 +24,10 @@ concurrency:
24
24
25
25
jobs :
26
26
build :
27
- name : Build and Test
27
+ name : Test
28
28
strategy :
29
29
matrix :
30
- os : [ubuntu-latest ]
30
+ os : [ubuntu-22.04 ]
31
31
scala : [2.12, 2.13, 3]
32
32
java : [temurin@8, temurin@17, graalvm@21]
33
33
project : [catsNative, catsJS, catsJVM]
@@ -51,14 +51,14 @@ jobs:
51
51
runs-on : ${{ matrix.os }}
52
52
timeout-minutes : 60
53
53
steps :
54
- - name : Install sbt
55
- uses : sbt/setup-sbt@v1
56
-
57
54
- name : Checkout current branch (full)
58
55
uses : actions/checkout@v4
59
56
with :
60
57
fetch-depth : 0
61
58
59
+ - name : Setup sbt
60
+ uses : sbt/setup-sbt@v1
61
+
62
62
- name : Setup Java (temurin@8)
63
63
id : setup-java-temurin-8
64
64
if : matrix.java == 'temurin@8'
@@ -102,7 +102,7 @@ jobs:
102
102
run : sbt githubWorkflowCheck
103
103
104
104
- name : Check headers and formatting
105
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
105
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
106
106
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
107
107
108
108
- name : nativeLink
@@ -117,11 +117,11 @@ jobs:
117
117
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
118
118
119
119
- name : Check binary compatibility
120
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
120
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
121
121
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
122
122
123
123
- name : Generate API documentation
124
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
124
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
125
125
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
126
126
127
127
- name : Make target directories
@@ -145,18 +145,18 @@ jobs:
145
145
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
146
146
strategy :
147
147
matrix :
148
- os : [ubuntu-latest ]
148
+ os : [ubuntu-22.04 ]
149
149
java : [temurin@8]
150
150
runs-on : ${{ matrix.os }}
151
151
steps :
152
- - name : Install sbt
153
- uses : sbt/setup-sbt@v1
154
-
155
152
- name : Checkout current branch (full)
156
153
uses : actions/checkout@v4
157
154
with :
158
155
fetch-depth : 0
159
156
157
+ - name : Setup sbt
158
+ uses : sbt/setup-sbt@v1
159
+
160
160
- name : Setup Java (temurin@8)
161
161
id : setup-java-temurin-8
162
162
if : matrix.java == 'temurin@8'
@@ -315,18 +315,18 @@ jobs:
315
315
if : github.event.repository.fork == false && github.event_name != 'pull_request'
316
316
strategy :
317
317
matrix :
318
- os : [ubuntu-latest ]
318
+ os : [ubuntu-22.04 ]
319
319
java : [temurin@8]
320
320
runs-on : ${{ matrix.os }}
321
321
steps :
322
- - name : Install sbt
323
- uses : sbt/setup-sbt@v1
324
-
325
322
- name : Checkout current branch (full)
326
323
uses : actions/checkout@v4
327
324
with :
328
325
fetch-depth : 0
329
326
327
+ - name : Setup sbt
328
+ uses : sbt/setup-sbt@v1
329
+
330
330
- name : Setup Java (temurin@8)
331
331
id : setup-java-temurin-8
332
332
if : matrix.java == 'temurin@8'
@@ -376,7 +376,7 @@ jobs:
376
376
name : Validate Steward Config
377
377
strategy :
378
378
matrix :
379
- os : [ubuntu-latest ]
379
+ os : [ubuntu-22.04 ]
380
380
java : [temurin@11]
381
381
runs-on : ${{ matrix.os }}
382
382
steps :
@@ -401,18 +401,18 @@ jobs:
401
401
name : Generate Site
402
402
strategy :
403
403
matrix :
404
- os : [ubuntu-latest ]
404
+ os : [ubuntu-22.04 ]
405
405
java : [temurin@17]
406
406
runs-on : ${{ matrix.os }}
407
407
steps :
408
- - name : Install sbt
409
- uses : sbt/setup-sbt@v1
410
-
411
408
- name : Checkout current branch (full)
412
409
uses : actions/checkout@v4
413
410
with :
414
411
fetch-depth : 0
415
412
413
+ - name : Setup sbt
414
+ uses : sbt/setup-sbt@v1
415
+
416
416
- name : Setup Java (temurin@8)
417
417
id : setup-java-temurin-8
418
418
if : matrix.java == 'temurin@8'
@@ -467,18 +467,18 @@ jobs:
467
467
name : Scalafix
468
468
strategy :
469
469
matrix :
470
- os : [ubuntu-latest ]
470
+ os : [ubuntu-22.04 ]
471
471
java : [temurin@8]
472
472
runs-on : ${{ matrix.os }}
473
473
steps :
474
- - name : Install sbt
475
- uses : sbt/setup-sbt@v1
476
-
477
474
- name : Checkout current branch (full)
478
475
uses : actions/checkout@v4
479
476
with :
480
477
fetch-depth : 0
481
478
479
+ - name : Setup sbt
480
+ uses : sbt/setup-sbt@v1
481
+
482
482
- name : Setup Java (temurin@8)
483
483
id : setup-java-temurin-8
484
484
if : matrix.java == 'temurin@8'
0 commit comments