@@ -24,11 +24,11 @@ concurrency:
24
24
25
25
jobs :
26
26
build :
27
- name : Build and Test
27
+ name : Test
28
28
strategy :
29
29
fail-fast : false
30
30
matrix :
31
- os : [ubuntu-latest ]
31
+ os : [ubuntu-22.04 ]
32
32
scala : [2.13, 3]
33
33
java : [temurin@8, temurin@11, temurin@17]
34
34
exclude :
@@ -39,14 +39,14 @@ jobs:
39
39
runs-on : ${{ matrix.os }}
40
40
timeout-minutes : 60
41
41
steps :
42
- - name : Install sbt
43
- uses : sbt/setup-sbt@v1
44
-
45
42
- name : Checkout current branch (full)
46
43
uses : actions/checkout@v4
47
44
with :
48
45
fetch-depth : 0
49
46
47
+ - name : Setup sbt
48
+ uses : sbt/setup-sbt@v1
49
+
50
50
- name : Setup Java (temurin@8)
51
51
id : setup-java-temurin-8
52
52
if : matrix.java == 'temurin@8'
@@ -90,18 +90,18 @@ jobs:
90
90
run : sbt githubWorkflowCheck
91
91
92
92
- name : Check headers and formatting
93
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
93
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
94
94
run : sbt '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
95
95
96
96
- name : Test
97
97
run : sbt '++ ${{ matrix.scala }}' test
98
98
99
99
- name : Check binary compatibility
100
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
100
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
101
101
run : sbt '++ ${{ matrix.scala }}' mimaReportBinaryIssues
102
102
103
103
- name : Generate API documentation
104
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
104
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
105
105
run : sbt '++ ${{ matrix.scala }}' doc
106
106
107
107
- name : Check scalafix lints
@@ -133,18 +133,18 @@ jobs:
133
133
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/series/1.x')
134
134
strategy :
135
135
matrix :
136
- os : [ubuntu-latest ]
136
+ os : [ubuntu-22.04 ]
137
137
java : [temurin@8]
138
138
runs-on : ${{ matrix.os }}
139
139
steps :
140
- - name : Install sbt
141
- uses : sbt/setup-sbt@v1
142
-
143
140
- name : Checkout current branch (full)
144
141
uses : actions/checkout@v4
145
142
with :
146
143
fetch-depth : 0
147
144
145
+ - name : Setup sbt
146
+ uses : sbt/setup-sbt@v1
147
+
148
148
- name : Setup Java (temurin@8)
149
149
id : setup-java-temurin-8
150
150
if : matrix.java == 'temurin@8'
@@ -233,18 +233,18 @@ jobs:
233
233
if : github.event.repository.fork == false && github.event_name != 'pull_request'
234
234
strategy :
235
235
matrix :
236
- os : [ubuntu-latest ]
236
+ os : [ubuntu-22.04 ]
237
237
java : [temurin@8]
238
238
runs-on : ${{ matrix.os }}
239
239
steps :
240
- - name : Install sbt
241
- uses : sbt/setup-sbt@v1
242
-
243
240
- name : Checkout current branch (full)
244
241
uses : actions/checkout@v4
245
242
with :
246
243
fetch-depth : 0
247
244
245
+ - name : Setup sbt
246
+ uses : sbt/setup-sbt@v1
247
+
248
248
- name : Setup Java (temurin@8)
249
249
id : setup-java-temurin-8
250
250
if : matrix.java == 'temurin@8'
@@ -294,7 +294,7 @@ jobs:
294
294
name : Validate Steward Config
295
295
strategy :
296
296
matrix :
297
- os : [ubuntu-latest ]
297
+ os : [ubuntu-22.04 ]
298
298
java : [temurin@11]
299
299
runs-on : ${{ matrix.os }}
300
300
steps :
0 commit comments