@@ -24,24 +24,24 @@ 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@11]
33
33
project : [rootJS, rootJVM, rootNative]
34
34
runs-on : ${{ matrix.os }}
35
35
timeout-minutes : 60
36
36
steps :
37
- - name : Install sbt
38
- uses : sbt/setup-sbt@v1
39
-
40
37
- name : Checkout current branch (full)
41
38
uses : actions/checkout@v4
42
39
with :
43
40
fetch-depth : 0
44
41
42
+ - name : Setup sbt
43
+ uses : sbt/setup-sbt@v1
44
+
45
45
- name : Setup Java (temurin@11)
46
46
id : setup-java-temurin-11
47
47
if : matrix.java == 'temurin@11'
59
59
run : sbt githubWorkflowCheck
60
60
61
61
- name : Check headers and formatting
62
- if : matrix.java == 'temurin@11' && matrix.os == 'ubuntu-latest '
62
+ if : matrix.java == 'temurin@11' && matrix.os == 'ubuntu-22.04 '
63
63
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
64
64
65
65
- name : scalaJSLink
@@ -74,11 +74,11 @@ jobs:
74
74
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
75
75
76
76
- name : Check binary compatibility
77
- if : matrix.java == 'temurin@11' && matrix.os == 'ubuntu-latest '
77
+ if : matrix.java == 'temurin@11' && matrix.os == 'ubuntu-22.04 '
78
78
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
79
79
80
80
- name : Generate API documentation
81
- if : matrix.java == 'temurin@11' && matrix.os == 'ubuntu-latest '
81
+ if : matrix.java == 'temurin@11' && matrix.os == 'ubuntu-22.04 '
82
82
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
83
83
84
84
- name : Make target directories
@@ -102,18 +102,18 @@ jobs:
102
102
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
103
103
strategy :
104
104
matrix :
105
- os : [ubuntu-latest ]
105
+ os : [ubuntu-22.04 ]
106
106
java : [temurin@11]
107
107
runs-on : ${{ matrix.os }}
108
108
steps :
109
- - name : Install sbt
110
- uses : sbt/setup-sbt@v1
111
-
112
109
- name : Checkout current branch (full)
113
110
uses : actions/checkout@v4
114
111
with :
115
112
fetch-depth : 0
116
113
114
+ - name : Setup sbt
115
+ uses : sbt/setup-sbt@v1
116
+
117
117
- name : Setup Java (temurin@11)
118
118
id : setup-java-temurin-11
119
119
if : matrix.java == 'temurin@11'
@@ -246,18 +246,18 @@ jobs:
246
246
if : github.event.repository.fork == false && github.event_name != 'pull_request'
247
247
strategy :
248
248
matrix :
249
- os : [ubuntu-latest ]
249
+ os : [ubuntu-22.04 ]
250
250
java : [temurin@11]
251
251
runs-on : ${{ matrix.os }}
252
252
steps :
253
- - name : Install sbt
254
- uses : sbt/setup-sbt@v1
255
-
256
253
- name : Checkout current branch (full)
257
254
uses : actions/checkout@v4
258
255
with :
259
256
fetch-depth : 0
260
257
258
+ - name : Setup sbt
259
+ uses : sbt/setup-sbt@v1
260
+
261
261
- name : Setup Java (temurin@11)
262
262
id : setup-java-temurin-11
263
263
if : matrix.java == 'temurin@11'
@@ -281,7 +281,7 @@ jobs:
281
281
name : Validate Steward Config
282
282
strategy :
283
283
matrix :
284
- os : [ubuntu-latest ]
284
+ os : [ubuntu-22.04 ]
285
285
java : [temurin@11]
286
286
runs-on : ${{ matrix.os }}
287
287
steps :
@@ -306,18 +306,18 @@ jobs:
306
306
name : Generate Site
307
307
strategy :
308
308
matrix :
309
- os : [ubuntu-latest ]
309
+ os : [ubuntu-22.04 ]
310
310
java : [temurin@11]
311
311
runs-on : ${{ matrix.os }}
312
312
steps :
313
- - name : Install sbt
314
- uses : sbt/setup-sbt@v1
315
-
316
313
- name : Checkout current branch (full)
317
314
uses : actions/checkout@v4
318
315
with :
319
316
fetch-depth : 0
320
317
318
+ - name : Setup sbt
319
+ uses : sbt/setup-sbt@v1
320
+
321
321
- name : Setup Java (temurin@11)
322
322
id : setup-java-temurin-11
323
323
if : matrix.java == 'temurin@11'
0 commit comments