@@ -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, 3, 2.13]
32
32
java : [temurin@8, temurin@17]
33
33
project : [rootJS, rootJVM, rootNative]
@@ -43,14 +43,14 @@ jobs:
43
43
runs-on : ${{ matrix.os }}
44
44
timeout-minutes : 60
45
45
steps :
46
- - name : Install sbt
47
- uses : sbt/setup-sbt@v1
48
-
49
46
- name : Checkout current branch (full)
50
47
uses : actions/checkout@v4
51
48
with :
52
49
fetch-depth : 0
53
50
51
+ - name : Setup sbt
52
+ uses : sbt/setup-sbt@v1
53
+
54
54
- name : Setup Java (temurin@8)
55
55
id : setup-java-temurin-8
56
56
if : matrix.java == 'temurin@8'
81
81
run : sbt githubWorkflowCheck
82
82
83
83
- name : Check headers and formatting
84
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
84
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
85
85
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
86
86
87
87
- name : scalaJSLink
@@ -96,11 +96,11 @@ jobs:
96
96
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
97
97
98
98
- name : Check binary compatibility
99
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
99
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
100
100
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
101
101
102
102
- name : Generate API documentation
103
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
103
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
104
104
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
105
105
106
106
- name : Make target directories
@@ -124,18 +124,18 @@ jobs:
124
124
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
125
125
strategy :
126
126
matrix :
127
- os : [ubuntu-latest ]
127
+ os : [ubuntu-22.04 ]
128
128
java : [temurin@8]
129
129
runs-on : ${{ matrix.os }}
130
130
steps :
131
- - name : Install sbt
132
- uses : sbt/setup-sbt@v1
133
-
134
131
- name : Checkout current branch (full)
135
132
uses : actions/checkout@v4
136
133
with :
137
134
fetch-depth : 0
138
135
136
+ - name : Setup sbt
137
+ uses : sbt/setup-sbt@v1
138
+
139
139
- name : Setup Java (temurin@8)
140
140
id : setup-java-temurin-8
141
141
if : matrix.java == 'temurin@8'
@@ -281,18 +281,18 @@ jobs:
281
281
if : github.event.repository.fork == false && github.event_name != 'pull_request'
282
282
strategy :
283
283
matrix :
284
- os : [ubuntu-latest ]
284
+ os : [ubuntu-22.04 ]
285
285
java : [temurin@8]
286
286
runs-on : ${{ matrix.os }}
287
287
steps :
288
- - name : Install sbt
289
- uses : sbt/setup-sbt@v1
290
-
291
288
- name : Checkout current branch (full)
292
289
uses : actions/checkout@v4
293
290
with :
294
291
fetch-depth : 0
295
292
293
+ - name : Setup sbt
294
+ uses : sbt/setup-sbt@v1
295
+
296
296
- name : Setup Java (temurin@8)
297
297
id : setup-java-temurin-8
298
298
if : matrix.java == 'temurin@8'
@@ -329,18 +329,18 @@ jobs:
329
329
name : Generate Site
330
330
strategy :
331
331
matrix :
332
- os : [ubuntu-latest ]
332
+ os : [ubuntu-22.04 ]
333
333
java : [temurin@17]
334
334
runs-on : ${{ matrix.os }}
335
335
steps :
336
- - name : Install sbt
337
- uses : sbt/setup-sbt@v1
338
-
339
336
- name : Checkout current branch (full)
340
337
uses : actions/checkout@v4
341
338
with :
342
339
fetch-depth : 0
343
340
341
+ - name : Setup sbt
342
+ uses : sbt/setup-sbt@v1
343
+
344
344
- name : Setup Java (temurin@8)
345
345
id : setup-java-temurin-8
346
346
if : matrix.java == 'temurin@8'
0 commit comments