@@ -24,24 +24,24 @@ 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]
3333 project : [functionNameJVM]
3434 runs-on : ${{ matrix.os }}
3535 timeout-minutes : 60
3636 steps :
37- - name : Install sbt
38- uses : sbt/setup-sbt@v1
39-
4037 - name : Checkout current branch (full)
4138 uses : actions/checkout@v4
4239 with :
4340 fetch-depth : 0
4441
42+ - name : Setup sbt
43+ uses : sbt/setup-sbt@v1
44+
4545 - name : Setup Java (temurin@8)
4646 id : setup-java-temurin-8
4747 if : matrix.java == 'temurin@8'
@@ -59,18 +59,18 @@ jobs:
5959 run : sbt githubWorkflowCheck
6060
6161 - name : Check headers and formatting
62- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
62+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
6363 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' headerCheckAll scalafmtCheckAll 'project /' scalafmtSbtCheck
6464
6565 - name : Test
6666 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' test
6767
6868 - name : Check binary compatibility
69- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
69+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
7070 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' mimaReportBinaryIssues
7171
7272 - name : Generate API documentation
73- if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-latest '
73+ if : matrix.java == 'temurin@8' && matrix.os == 'ubuntu-22.04 '
7474 run : sbt 'project ${{ matrix.project }}' '++ ${{ matrix.scala }}' doc
7575
7676 - name : Make target directories
@@ -94,18 +94,18 @@ jobs:
9494 if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
9595 strategy :
9696 matrix :
97- os : [ubuntu-latest ]
97+ os : [ubuntu-22.04 ]
9898 java : [temurin@8]
9999 runs-on : ${{ matrix.os }}
100100 steps :
101- - name : Install sbt
102- uses : sbt/setup-sbt@v1
103-
104101 - name : Checkout current branch (full)
105102 uses : actions/checkout@v4
106103 with :
107104 fetch-depth : 0
108105
106+ - name : Setup sbt
107+ uses : sbt/setup-sbt@v1
108+
109109 - name : Setup Java (temurin@8)
110110 id : setup-java-temurin-8
111111 if : matrix.java == 'temurin@8'
@@ -158,18 +158,18 @@ jobs:
158158 if : github.event.repository.fork == false && github.event_name != 'pull_request'
159159 strategy :
160160 matrix :
161- os : [ubuntu-latest ]
161+ os : [ubuntu-22.04 ]
162162 java : [temurin@8]
163163 runs-on : ${{ matrix.os }}
164164 steps :
165- - name : Install sbt
166- uses : sbt/setup-sbt@v1
167-
168165 - name : Checkout current branch (full)
169166 uses : actions/checkout@v4
170167 with :
171168 fetch-depth : 0
172169
170+ - name : Setup sbt
171+ uses : sbt/setup-sbt@v1
172+
173173 - name : Setup Java (temurin@8)
174174 id : setup-java-temurin-8
175175 if : matrix.java == 'temurin@8'
0 commit comments