@@ -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 : [3]
3232 java : [temurin@21]
3333 project : [rootJS, rootJVM]
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@21)
4646 id : setup-java-temurin-21
4747 if : matrix.java == 'temurin@21'
@@ -59,11 +59,11 @@ jobs:
5959 run : sbt githubWorkflowCheck
6060
6161 - name : Check headers and formatting
62- if : matrix.java == 'temurin@21' && matrix.os == 'ubuntu-latest '
62+ if : matrix.java == 'temurin@21' && matrix.os == 'ubuntu-22.04 '
6363 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
6464
6565 - name : Check scalafix lints
66- if : matrix.java == 'temurin@21' && matrix.os == 'ubuntu-latest '
66+ if : matrix.java == 'temurin@21' && matrix.os == 'ubuntu-22.04 '
6767 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' 'scalafixAll --check'
6868
6969 - 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@21' && matrix.os == 'ubuntu-latest '
77+ if : matrix.java == 'temurin@21' && 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@21' && matrix.os == 'ubuntu-latest '
81+ if : matrix.java == 'temurin@21' && matrix.os == 'ubuntu-22.04 '
8282 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
8383
8484 - name : Monitor artifact size
@@ -106,18 +106,18 @@ jobs:
106106 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/series/0.1')
107107 strategy :
108108 matrix :
109- os : [ubuntu-latest ]
109+ os : [ubuntu-22.04 ]
110110 java : [temurin@21]
111111 runs-on : ${{ matrix.os }}
112112 steps :
113- - name : Install sbt
114- uses : sbt/setup-sbt@v1
115-
116113 - name : Checkout current branch (full)
117114 uses : actions/checkout@v4
118115 with :
119116 fetch-depth : 0
120117
118+ - name : Setup sbt
119+ uses : sbt/setup-sbt@v1
120+
121121 - name : Setup Java (temurin@21)
122122 id : setup-java-temurin-21
123123 if : matrix.java == 'temurin@21'
@@ -180,18 +180,18 @@ jobs:
180180 if : github.event.repository.fork == false && github.event_name != 'pull_request'
181181 strategy :
182182 matrix :
183- os : [ubuntu-latest ]
183+ os : [ubuntu-22.04 ]
184184 java : [temurin@21]
185185 runs-on : ${{ matrix.os }}
186186 steps :
187- - name : Install sbt
188- uses : sbt/setup-sbt@v1
189-
190187 - name : Checkout current branch (full)
191188 uses : actions/checkout@v4
192189 with :
193190 fetch-depth : 0
194191
192+ - name : Setup sbt
193+ uses : sbt/setup-sbt@v1
194+
195195 - name : Setup Java (temurin@21)
196196 id : setup-java-temurin-21
197197 if : matrix.java == 'temurin@21'
@@ -215,7 +215,7 @@ jobs:
215215 name : Validate Steward Config
216216 strategy :
217217 matrix :
218- os : [ubuntu-latest ]
218+ os : [ubuntu-22.04 ]
219219 java : [temurin@11]
220220 runs-on : ${{ matrix.os }}
221221 steps :
@@ -240,18 +240,18 @@ jobs:
240240 name : Generate Site
241241 strategy :
242242 matrix :
243- os : [ubuntu-latest ]
243+ os : [ubuntu-22.04 ]
244244 java : [temurin@21]
245245 runs-on : ${{ matrix.os }}
246246 steps :
247- - name : Install sbt
248- uses : sbt/setup-sbt@v1
249-
250247 - name : Checkout current branch (full)
251248 uses : actions/checkout@v4
252249 with :
253250 fetch-depth : 0
254251
252+ - name : Setup sbt
253+ uses : sbt/setup-sbt@v1
254+
255255 - name : Setup Java (temurin@21)
256256 id : setup-java-temurin-21
257257 if : matrix.java == 'temurin@21'
0 commit comments