@@ -24,10 +24,10 @@ concurrency:
2424
2525jobs :
2626 build :
27- name : Build and Test
27+ name : Test
2828 strategy :
2929 matrix :
30- os : [ubuntu-latest ]
30+ os : [ubuntu-22.04 ]
3131 scala : [2.12, 2.13, 3]
3232 java : [temurin@8, temurin@17, graalvm@21]
3333 project : [catsNative, catsJS, catsJVM]
@@ -51,14 +51,14 @@ jobs:
5151 runs-on : ${{ matrix.os }}
5252 timeout-minutes : 60
5353 steps :
54- - name : Install sbt
55- uses : sbt/setup-sbt@v1
56-
5754 - name : Checkout current branch (full)
5855 uses : actions/checkout@v4
5956 with :
6057 fetch-depth : 0
6158
59+ - name : Setup sbt
60+ uses : sbt/setup-sbt@v1
61+
6262 - name : Setup Java (temurin@8)
6363 id : setup-java-temurin-8
6464 if : matrix.java == 'temurin@8'
@@ -102,7 +102,7 @@ jobs:
102102 run : sbt githubWorkflowCheck
103103
104104 - 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 '
106106 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
107107
108108 - name : nativeLink
@@ -117,11 +117,11 @@ jobs:
117117 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
118118
119119 - 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 '
121121 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
122122
123123 - 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 '
125125 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
126126
127127 - name : Make target directories
@@ -145,18 +145,18 @@ jobs:
145145 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
146146 strategy :
147147 matrix :
148- os : [ubuntu-latest ]
148+ os : [ubuntu-22.04 ]
149149 java : [temurin@8]
150150 runs-on : ${{ matrix.os }}
151151 steps :
152- - name : Install sbt
153- uses : sbt/setup-sbt@v1
154-
155152 - name : Checkout current branch (full)
156153 uses : actions/checkout@v4
157154 with :
158155 fetch-depth : 0
159156
157+ - name : Setup sbt
158+ uses : sbt/setup-sbt@v1
159+
160160 - name : Setup Java (temurin@8)
161161 id : setup-java-temurin-8
162162 if : matrix.java == 'temurin@8'
@@ -315,18 +315,18 @@ jobs:
315315 if : github.event.repository.fork == false && github.event_name != 'pull_request'
316316 strategy :
317317 matrix :
318- os : [ubuntu-latest ]
318+ os : [ubuntu-22.04 ]
319319 java : [temurin@8]
320320 runs-on : ${{ matrix.os }}
321321 steps :
322- - name : Install sbt
323- uses : sbt/setup-sbt@v1
324-
325322 - name : Checkout current branch (full)
326323 uses : actions/checkout@v4
327324 with :
328325 fetch-depth : 0
329326
327+ - name : Setup sbt
328+ uses : sbt/setup-sbt@v1
329+
330330 - name : Setup Java (temurin@8)
331331 id : setup-java-temurin-8
332332 if : matrix.java == 'temurin@8'
@@ -376,7 +376,7 @@ jobs:
376376 name : Validate Steward Config
377377 strategy :
378378 matrix :
379- os : [ubuntu-latest ]
379+ os : [ubuntu-22.04 ]
380380 java : [temurin@11]
381381 runs-on : ${{ matrix.os }}
382382 steps :
@@ -401,18 +401,18 @@ jobs:
401401 name : Generate Site
402402 strategy :
403403 matrix :
404- os : [ubuntu-latest ]
404+ os : [ubuntu-22.04 ]
405405 java : [temurin@17]
406406 runs-on : ${{ matrix.os }}
407407 steps :
408- - name : Install sbt
409- uses : sbt/setup-sbt@v1
410-
411408 - name : Checkout current branch (full)
412409 uses : actions/checkout@v4
413410 with :
414411 fetch-depth : 0
415412
413+ - name : Setup sbt
414+ uses : sbt/setup-sbt@v1
415+
416416 - name : Setup Java (temurin@8)
417417 id : setup-java-temurin-8
418418 if : matrix.java == 'temurin@8'
@@ -467,18 +467,18 @@ jobs:
467467 name : Scalafix
468468 strategy :
469469 matrix :
470- os : [ubuntu-latest ]
470+ os : [ubuntu-22.04 ]
471471 java : [temurin@8]
472472 runs-on : ${{ matrix.os }}
473473 steps :
474- - name : Install sbt
475- uses : sbt/setup-sbt@v1
476-
477474 - name : Checkout current branch (full)
478475 uses : actions/checkout@v4
479476 with :
480477 fetch-depth : 0
481478
479+ - name : Setup sbt
480+ uses : sbt/setup-sbt@v1
481+
482482 - name : Setup Java (temurin@8)
483483 id : setup-java-temurin-8
484484 if : matrix.java == 'temurin@8'
0 commit comments