@@ -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 : [3, 2.12, 2.13]
32
32
java : [temurin@8, temurin@11]
33
33
project : [rootJS, rootJVM, rootNative]
@@ -48,14 +48,14 @@ jobs:
48
48
runs-on : ${{ matrix.os }}
49
49
timeout-minutes : 60
50
50
steps :
51
- - name : Install sbt
52
- uses : sbt/setup-sbt@v1
53
-
54
51
- name : Checkout current branch (full)
55
52
uses : actions/checkout@v4
56
53
with :
57
54
fetch-depth : 0
58
55
56
+ - name : Setup sbt
57
+ uses : sbt/setup-sbt@v1
58
+
59
59
- name : Setup Java (temurin@8)
60
60
id : setup-java-temurin-8
61
61
if : matrix.java == 'temurin@8'
86
86
run : sbt githubWorkflowCheck
87
87
88
88
- name : Check headers and formatting
89
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest ' && matrix.workers == '1'
89
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 ' && matrix.workers == '1'
90
90
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
91
91
92
92
- name : scalaJSLink
@@ -101,11 +101,11 @@ jobs:
101
101
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
102
102
103
103
- name : Check binary compatibility
104
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest ' && matrix.workers == '1'
104
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 ' && matrix.workers == '1'
105
105
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
106
106
107
107
- name : Generate API documentation
108
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest ' && matrix.workers == '1'
108
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 ' && matrix.workers == '1'
109
109
run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
110
110
111
111
- name : Make target directories
@@ -129,18 +129,18 @@ jobs:
129
129
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
130
130
strategy :
131
131
matrix :
132
- os : [ubuntu-latest ]
132
+ os : [ubuntu-22.04 ]
133
133
java : [temurin@8]
134
134
runs-on : ${{ matrix.os }}
135
135
steps :
136
- - name : Install sbt
137
- uses : sbt/setup-sbt@v1
138
-
139
136
- name : Checkout current branch (full)
140
137
uses : actions/checkout@v4
141
138
with :
142
139
fetch-depth : 0
143
140
141
+ - name : Setup sbt
142
+ uses : sbt/setup-sbt@v1
143
+
144
144
- name : Setup Java (temurin@8)
145
145
id : setup-java-temurin-8
146
146
if : matrix.java == 'temurin@8'
@@ -286,18 +286,18 @@ jobs:
286
286
if : github.event.repository.fork == false && github.event_name != 'pull_request'
287
287
strategy :
288
288
matrix :
289
- os : [ubuntu-latest ]
289
+ os : [ubuntu-22.04 ]
290
290
java : [temurin@8]
291
291
runs-on : ${{ matrix.os }}
292
292
steps :
293
- - name : Install sbt
294
- uses : sbt/setup-sbt@v1
295
-
296
293
- name : Checkout current branch (full)
297
294
uses : actions/checkout@v4
298
295
with :
299
296
fetch-depth : 0
300
297
298
+ - name : Setup sbt
299
+ uses : sbt/setup-sbt@v1
300
+
301
301
- name : Setup Java (temurin@8)
302
302
id : setup-java-temurin-8
303
303
if : matrix.java == 'temurin@8'
@@ -334,18 +334,18 @@ jobs:
334
334
name : Examples
335
335
strategy :
336
336
matrix :
337
- os : [ubuntu-latest ]
337
+ os : [ubuntu-22.04 ]
338
338
java : [temurin@8]
339
339
runs-on : ${{ matrix.os }}
340
340
steps :
341
- - name : Install sbt
342
- uses : sbt/setup-sbt@v1
343
-
344
341
- name : Checkout current branch (full)
345
342
uses : actions/checkout@v4
346
343
with :
347
344
fetch-depth : 0
348
345
346
+ - name : Setup sbt
347
+ uses : sbt/setup-sbt@v1
348
+
349
349
- name : Setup Java (temurin@8)
350
350
id : setup-java-temurin-8
351
351
if : matrix.java == 'temurin@8'
@@ -381,18 +381,18 @@ jobs:
381
381
name : Bench
382
382
strategy :
383
383
matrix :
384
- os : [ubuntu-latest ]
384
+ os : [ubuntu-22.04 ]
385
385
java : [temurin@8]
386
386
runs-on : ${{ matrix.os }}
387
387
steps :
388
- - name : Install sbt
389
- uses : sbt/setup-sbt@v1
390
-
391
388
- name : Checkout current branch (full)
392
389
uses : actions/checkout@v4
393
390
with :
394
391
fetch-depth : 0
395
392
393
+ - name : Setup sbt
394
+ uses : sbt/setup-sbt@v1
395
+
396
396
- name : Setup Java (temurin@8)
397
397
id : setup-java-temurin-8
398
398
if : matrix.java == 'temurin@8'
0 commit comments