@@ -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 : [2.13, 2.12]
3232 java : [temurin@8]
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'
@@ -58,18 +58,18 @@ jobs:
5858 run : sbt githubWorkflowCheck
5959
6060 - name : Check headers and formatting
61- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
61+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
6262 run : sbt '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
6363
6464 - name : Test
6565 run : sbt '++ ${{ matrix.scala }}' test
6666
6767 - name : Check binary compatibility
68- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
68+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
6969 run : sbt '++ ${{ matrix.scala }}' mimaReportBinaryIssues
7070
7171 - name : Generate API documentation
72- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
72+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
7373 run : sbt '++ ${{ matrix.scala }}' doc
7474
7575 - name : Make target directories
@@ -93,18 +93,18 @@ jobs:
9393 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
9494 strategy :
9595 matrix :
96- os : [ubuntu-latest ]
96+ os : [ubuntu-22.04 ]
9797 java : [temurin@8]
9898 runs-on : ${{ matrix.os }}
9999 steps :
100- - name : Install sbt
101- uses : sbt/setup-sbt@v1
102-
103100 - name : Checkout current branch (full)
104101 uses : actions/checkout@v4
105102 with :
106103 fetch-depth : 0
107104
105+ - name : Setup sbt
106+ uses : sbt/setup-sbt@v1
107+
108108 - name : Setup Java (temurin@8)
109109 id : setup-java-temurin-8
110110 if : matrix.java == 'temurin@8'
@@ -167,18 +167,18 @@ jobs:
167167 if : github.event.repository.fork == false && github.event_name != 'pull_request'
168168 strategy :
169169 matrix :
170- os : [ubuntu-latest ]
170+ os : [ubuntu-22.04 ]
171171 java : [temurin@8]
172172 runs-on : ${{ matrix.os }}
173173 steps :
174- - name : Install sbt
175- uses : sbt/setup-sbt@v1
176-
177174 - name : Checkout current branch (full)
178175 uses : actions/checkout@v4
179176 with :
180177 fetch-depth : 0
181178
179+ - name : Setup sbt
180+ uses : sbt/setup-sbt@v1
181+
182182 - name : Setup Java (temurin@8)
183183 id : setup-java-temurin-8
184184 if : matrix.java == 'temurin@8'
@@ -202,7 +202,7 @@ jobs:
202202 name : Validate Steward Config
203203 strategy :
204204 matrix :
205- os : [ubuntu-latest ]
205+ os : [ubuntu-22.04 ]
206206 java : [temurin@11]
207207 runs-on : ${{ matrix.os }}
208208 steps :
0 commit comments