@@ -24,23 +24,23 @@ 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]
32
32
java : [temurin@8, temurin@17]
33
33
runs-on : ${{ matrix.os }}
34
34
timeout-minutes : 60
35
35
steps :
36
- - name : Install sbt
37
- uses : sbt/setup-sbt@v1
38
-
39
36
- name : Checkout current branch (full)
40
37
uses : actions/checkout@v4
41
38
with :
42
39
fetch-depth : 0
43
40
41
+ - name : Setup sbt
42
+ uses : sbt/setup-sbt@v1
43
+
44
44
- name : Setup Java (temurin@8)
45
45
id : setup-java-temurin-8
46
46
if : matrix.java == 'temurin@8'
@@ -71,18 +71,18 @@ jobs:
71
71
run : sbt githubWorkflowCheck
72
72
73
73
- name : Check headers and formatting
74
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
74
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
75
75
run : sbt headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
76
76
77
77
- name : Test
78
78
run : sbt test
79
79
80
80
- name : Check binary compatibility
81
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
81
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
82
82
run : sbt mimaReportBinaryIssues
83
83
84
84
- name : Generate API documentation
85
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
85
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
86
86
run : sbt doc
87
87
88
88
- name : Make target directories
@@ -106,18 +106,18 @@ jobs:
106
106
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
107
107
strategy :
108
108
matrix :
109
- os : [ubuntu-latest ]
109
+ os : [ubuntu-22.04 ]
110
110
java : [temurin@8]
111
111
runs-on : ${{ matrix.os }}
112
112
steps :
113
- - name : Install sbt
114
- uses : sbt/setup-sbt@v1
115
-
116
113
- name : Checkout current branch (full)
117
114
uses : actions/checkout@v4
118
115
with :
119
116
fetch-depth : 0
120
117
118
+ - name : Setup sbt
119
+ uses : sbt/setup-sbt@v1
120
+
121
121
- name : Setup Java (temurin@8)
122
122
id : setup-java-temurin-8
123
123
if : matrix.java == 'temurin@8'
@@ -183,18 +183,18 @@ jobs:
183
183
if : github.event.repository.fork == false && github.event_name != 'pull_request'
184
184
strategy :
185
185
matrix :
186
- os : [ubuntu-latest ]
186
+ os : [ubuntu-22.04 ]
187
187
java : [temurin@8]
188
188
runs-on : ${{ matrix.os }}
189
189
steps :
190
- - name : Install sbt
191
- uses : sbt/setup-sbt@v1
192
-
193
190
- name : Checkout current branch (full)
194
191
uses : actions/checkout@v4
195
192
with :
196
193
fetch-depth : 0
197
194
195
+ - name : Setup sbt
196
+ uses : sbt/setup-sbt@v1
197
+
198
198
- name : Setup Java (temurin@8)
199
199
id : setup-java-temurin-8
200
200
if : matrix.java == 'temurin@8'
@@ -231,7 +231,7 @@ jobs:
231
231
name : Validate Steward Config
232
232
strategy :
233
233
matrix :
234
- os : [ubuntu-latest ]
234
+ os : [ubuntu-22.04 ]
235
235
java : [temurin@11]
236
236
runs-on : ${{ matrix.os }}
237
237
steps :
0 commit comments