@@ -24,23 +24,23 @@ concurrency:
2424
2525jobs :
2626 build :
27- name : Build and Test
27+ name : Test
2828 strategy :
2929 matrix :
30- os : [ubuntu-latest ]
30+ os : [ubuntu-22.04 ]
3131 scala : [3]
3232 java : [temurin@8, temurin@17]
3333 runs-on : ${{ matrix.os }}
3434 timeout-minutes : 60
3535 steps :
36- - name : Install sbt
37- uses : sbt/setup-sbt@v1
38-
3936 - name : Checkout current branch (full)
4037 uses : actions/checkout@v4
4138 with :
4239 fetch-depth : 0
4340
41+ - name : Setup sbt
42+ uses : sbt/setup-sbt@v1
43+
4444 - name : Setup Java (temurin@8)
4545 id : setup-java-temurin-8
4646 if : matrix.java == 'temurin@8'
@@ -71,18 +71,18 @@ jobs:
7171 run : sbt githubWorkflowCheck
7272
7373 - 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 '
7575 run : sbt headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
7676
7777 - name : Test
7878 run : sbt test
7979
8080 - 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 '
8282 run : sbt mimaReportBinaryIssues
8383
8484 - 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 '
8686 run : sbt doc
8787
8888 - name : Make target directories
@@ -106,18 +106,18 @@ jobs:
106106 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
107107 strategy :
108108 matrix :
109- os : [ubuntu-latest ]
109+ os : [ubuntu-22.04 ]
110110 java : [temurin@8]
111111 runs-on : ${{ matrix.os }}
112112 steps :
113- - name : Install sbt
114- uses : sbt/setup-sbt@v1
115-
116113 - name : Checkout current branch (full)
117114 uses : actions/checkout@v4
118115 with :
119116 fetch-depth : 0
120117
118+ - name : Setup sbt
119+ uses : sbt/setup-sbt@v1
120+
121121 - name : Setup Java (temurin@8)
122122 id : setup-java-temurin-8
123123 if : matrix.java == 'temurin@8'
@@ -183,18 +183,18 @@ jobs:
183183 if : github.event.repository.fork == false && github.event_name != 'pull_request'
184184 strategy :
185185 matrix :
186- os : [ubuntu-latest ]
186+ os : [ubuntu-22.04 ]
187187 java : [temurin@8]
188188 runs-on : ${{ matrix.os }}
189189 steps :
190- - name : Install sbt
191- uses : sbt/setup-sbt@v1
192-
193190 - name : Checkout current branch (full)
194191 uses : actions/checkout@v4
195192 with :
196193 fetch-depth : 0
197194
195+ - name : Setup sbt
196+ uses : sbt/setup-sbt@v1
197+
198198 - name : Setup Java (temurin@8)
199199 id : setup-java-temurin-8
200200 if : matrix.java == 'temurin@8'
@@ -231,7 +231,7 @@ jobs:
231231 name : Validate Steward Config
232232 strategy :
233233 matrix :
234- os : [ubuntu-latest ]
234+ os : [ubuntu-22.04 ]
235235 java : [temurin@11]
236236 runs-on : ${{ matrix.os }}
237237 steps :
0 commit comments