@@ -26,10 +26,10 @@ concurrency:
26
26
27
27
jobs :
28
28
build :
29
- name : Build and Test
29
+ name : Test
30
30
strategy :
31
31
matrix :
32
- os : [ubuntu-latest ]
32
+ os : [ubuntu-22.04 ]
33
33
scala : [2.13, 2.12]
34
34
java : [temurin@8]
35
35
project : [root-spark33, root-spark34, root-spark35]
@@ -41,14 +41,14 @@ jobs:
41
41
runs-on : ${{ matrix.os }}
42
42
timeout-minutes : 60
43
43
steps :
44
- - name : Install sbt
45
- uses : sbt/setup-sbt@v1
46
-
47
44
- name : Checkout current branch (full)
48
45
uses : actions/checkout@v4
49
46
with :
50
47
fetch-depth : 0
51
48
49
+ - name : Setup sbt
50
+ uses : sbt/setup-sbt@v1
51
+
52
52
- name : Setup Java (temurin@8)
53
53
id : setup-java-temurin-8
54
54
if : matrix.java == 'temurin@8'
@@ -66,18 +66,18 @@ jobs:
66
66
run : sbt githubWorkflowCheck
67
67
68
68
- name : Check formatting
69
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
69
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
70
70
run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' scalafmtCheckAll 'project /' scalafmtSbtCheck
71
71
72
72
- name : Test & Compute Coverage
73
73
run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' coverage test test/coverageReport
74
74
75
75
- name : Check binary compatibility
76
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
76
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
77
77
run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' mimaReportBinaryIssues
78
78
79
79
- name : Generate API documentation
80
- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
80
+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
81
81
run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' doc
82
82
83
83
- uses : codecov/codecov-action@v3
@@ -90,18 +90,18 @@ jobs:
90
90
if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master')
91
91
strategy :
92
92
matrix :
93
- os : [ubuntu-latest ]
93
+ os : [ubuntu-22.04 ]
94
94
java : [temurin@8]
95
95
runs-on : ${{ matrix.os }}
96
96
steps :
97
- - name : Install sbt
98
- uses : sbt/setup-sbt@v1
99
-
100
97
- name : Checkout current branch (full)
101
98
uses : actions/checkout@v4
102
99
with :
103
100
fetch-depth : 0
104
101
102
+ - name : Setup sbt
103
+ uses : sbt/setup-sbt@v1
104
+
105
105
- name : Setup Java (temurin@8)
106
106
id : setup-java-temurin-8
107
107
if : matrix.java == 'temurin@8'
@@ -144,18 +144,18 @@ jobs:
144
144
if : github.event.repository.fork == false && github.event_name != 'pull_request'
145
145
strategy :
146
146
matrix :
147
- os : [ubuntu-latest ]
147
+ os : [ubuntu-22.04 ]
148
148
java : [temurin@8]
149
149
runs-on : ${{ matrix.os }}
150
150
steps :
151
- - name : Install sbt
152
- uses : sbt/setup-sbt@v1
153
-
154
151
- name : Checkout current branch (full)
155
152
uses : actions/checkout@v4
156
153
with :
157
154
fetch-depth : 0
158
155
156
+ - name : Setup sbt
157
+ uses : sbt/setup-sbt@v1
158
+
159
159
- name : Setup Java (temurin@8)
160
160
id : setup-java-temurin-8
161
161
if : matrix.java == 'temurin@8'
@@ -179,18 +179,18 @@ jobs:
179
179
name : Generate Site
180
180
strategy :
181
181
matrix :
182
- os : [ubuntu-latest ]
182
+ os : [ubuntu-22.04 ]
183
183
java : [temurin@11]
184
184
runs-on : ${{ matrix.os }}
185
185
steps :
186
- - name : Install sbt
187
- uses : sbt/setup-sbt@v1
188
-
189
186
- name : Checkout current branch (full)
190
187
uses : actions/checkout@v4
191
188
with :
192
189
fetch-depth : 0
193
190
191
+ - name : Setup sbt
192
+ uses : sbt/setup-sbt@v1
193
+
194
194
- name : Setup Java (temurin@8)
195
195
id : setup-java-temurin-8
196
196
if : matrix.java == 'temurin@8'
0 commit comments