@@ -26,10 +26,10 @@ concurrency:
2626
2727jobs :
2828 build :
29- name : Build and Test
29+ name : Test
3030 strategy :
3131 matrix :
32- os : [ubuntu-latest ]
32+ os : [ubuntu-22.04 ]
3333 scala : [2.13, 2.12]
3434 java : [temurin@8]
3535 project : [root-spark33, root-spark34, root-spark35]
@@ -41,14 +41,14 @@ jobs:
4141 runs-on : ${{ matrix.os }}
4242 timeout-minutes : 60
4343 steps :
44- - name : Install sbt
45- uses : sbt/setup-sbt@v1
46-
4744 - name : Checkout current branch (full)
4845 uses : actions/checkout@v4
4946 with :
5047 fetch-depth : 0
5148
49+ - name : Setup sbt
50+ uses : sbt/setup-sbt@v1
51+
5252 - name : Setup Java (temurin@8)
5353 id : setup-java-temurin-8
5454 if : matrix.java == 'temurin@8'
@@ -66,18 +66,18 @@ jobs:
6666 run : sbt githubWorkflowCheck
6767
6868 - name : Check formatting
69- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
69+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
7070 run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' scalafmtCheckAll 'project /' scalafmtSbtCheck
7171
7272 - name : Test & Compute Coverage
7373 run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' coverage test test/coverageReport
7474
7575 - 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 '
7777 run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' mimaReportBinaryIssues
7878
7979 - 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 '
8181 run : sbt '++ ${{ matrix.scala }}' 'project ${{ matrix.project }}' doc
8282
8383 - uses : codecov/codecov-action@v3
@@ -90,18 +90,18 @@ jobs:
9090 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master')
9191 strategy :
9292 matrix :
93- os : [ubuntu-latest ]
93+ os : [ubuntu-22.04 ]
9494 java : [temurin@8]
9595 runs-on : ${{ matrix.os }}
9696 steps :
97- - name : Install sbt
98- uses : sbt/setup-sbt@v1
99-
10097 - name : Checkout current branch (full)
10198 uses : actions/checkout@v4
10299 with :
103100 fetch-depth : 0
104101
102+ - name : Setup sbt
103+ uses : sbt/setup-sbt@v1
104+
105105 - name : Setup Java (temurin@8)
106106 id : setup-java-temurin-8
107107 if : matrix.java == 'temurin@8'
@@ -144,18 +144,18 @@ jobs:
144144 if : github.event.repository.fork == false && github.event_name != 'pull_request'
145145 strategy :
146146 matrix :
147- os : [ubuntu-latest ]
147+ os : [ubuntu-22.04 ]
148148 java : [temurin@8]
149149 runs-on : ${{ matrix.os }}
150150 steps :
151- - name : Install sbt
152- uses : sbt/setup-sbt@v1
153-
154151 - name : Checkout current branch (full)
155152 uses : actions/checkout@v4
156153 with :
157154 fetch-depth : 0
158155
156+ - name : Setup sbt
157+ uses : sbt/setup-sbt@v1
158+
159159 - name : Setup Java (temurin@8)
160160 id : setup-java-temurin-8
161161 if : matrix.java == 'temurin@8'
@@ -179,18 +179,18 @@ jobs:
179179 name : Generate Site
180180 strategy :
181181 matrix :
182- os : [ubuntu-latest ]
182+ os : [ubuntu-22.04 ]
183183 java : [temurin@11]
184184 runs-on : ${{ matrix.os }}
185185 steps :
186- - name : Install sbt
187- uses : sbt/setup-sbt@v1
188-
189186 - name : Checkout current branch (full)
190187 uses : actions/checkout@v4
191188 with :
192189 fetch-depth : 0
193190
191+ - name : Setup sbt
192+ uses : sbt/setup-sbt@v1
193+
194194 - name : Setup Java (temurin@8)
195195 id : setup-java-temurin-8
196196 if : matrix.java == 'temurin@8'
0 commit comments