@@ -24,24 +24,24 @@ 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.13, 2.12, 3]
3232 java : [temurin@8]
3333 project : [rootJS, rootJVM, rootNative]
3434 runs-on : ${{ matrix.os }}
3535 timeout-minutes : 60
3636 steps :
37- - name : Install sbt
38- uses : sbt/setup-sbt@v1
39-
4037 - name : Checkout current branch (full)
4138 uses : actions/checkout@v4
4239 with :
4340 fetch-depth : 0
4441
42+ - name : Setup sbt
43+ uses : sbt/setup-sbt@v1
44+
4545 - name : Setup Java (temurin@8)
4646 id : setup-java-temurin-8
4747 if : matrix.java == 'temurin@8'
5959 run : sbt githubWorkflowCheck
6060
6161 - name : Check headers and formatting
62- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
62+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
6363 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
6464
6565 - name : scalaJSLink
@@ -74,11 +74,11 @@ jobs:
7474 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
7575
7676 - name : Check binary compatibility
77- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
77+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
7878 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
7979
8080 - name : Generate API documentation
81- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
81+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
8282 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
8383
8484 - name : Make target directories
@@ -102,18 +102,18 @@ jobs:
102102 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master')
103103 strategy :
104104 matrix :
105- os : [ubuntu-latest ]
105+ os : [ubuntu-22.04 ]
106106 java : [temurin@8]
107107 runs-on : ${{ matrix.os }}
108108 steps :
109- - name : Install sbt
110- uses : sbt/setup-sbt@v1
111-
112109 - name : Checkout current branch (full)
113110 uses : actions/checkout@v4
114111 with :
115112 fetch-depth : 0
116113
114+ - name : Setup sbt
115+ uses : sbt/setup-sbt@v1
116+
117117 - name : Setup Java (temurin@8)
118118 id : setup-java-temurin-8
119119 if : matrix.java == 'temurin@8'
@@ -246,18 +246,18 @@ jobs:
246246 if : github.event.repository.fork == false && github.event_name != 'pull_request'
247247 strategy :
248248 matrix :
249- os : [ubuntu-latest ]
249+ os : [ubuntu-22.04 ]
250250 java : [temurin@8]
251251 runs-on : ${{ matrix.os }}
252252 steps :
253- - name : Install sbt
254- uses : sbt/setup-sbt@v1
255-
256253 - name : Checkout current branch (full)
257254 uses : actions/checkout@v4
258255 with :
259256 fetch-depth : 0
260257
258+ - name : Setup sbt
259+ uses : sbt/setup-sbt@v1
260+
261261 - name : Setup Java (temurin@8)
262262 id : setup-java-temurin-8
263263 if : matrix.java == 'temurin@8'
@@ -281,7 +281,7 @@ jobs:
281281 name : Generate coverage report
282282 strategy :
283283 matrix :
284- os : [ubuntu-latest ]
284+ os : [ubuntu-22.04 ]
285285 scala : [2.13.12]
286286 java : [temurin@11]
287287 runs-on : ${{ matrix.os }}
@@ -310,18 +310,18 @@ jobs:
310310 name : Generate Site
311311 strategy :
312312 matrix :
313- os : [ubuntu-latest ]
313+ os : [ubuntu-22.04 ]
314314 java : [temurin@11]
315315 runs-on : ${{ matrix.os }}
316316 steps :
317- - name : Install sbt
318- uses : sbt/setup-sbt@v1
319-
320317 - name : Checkout current branch (full)
321318 uses : actions/checkout@v4
322319 with :
323320 fetch-depth : 0
324321
322+ - name : Setup sbt
323+ uses : sbt/setup-sbt@v1
324+
325325 - name : Setup Java (temurin@8)
326326 id : setup-java-temurin-8
327327 if : matrix.java == 'temurin@8'
0 commit comments