File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Samples Scala/sbt (JDK8)
2+
3+ on :
4+ push :
5+ paths :
6+ - ' samples/server/petstore/scala-finch/**'
7+ pull_request :
8+ paths :
9+ - ' samples/server/petstore/scala-finch/**'
10+ jobs :
11+ build :
12+ name : Build scala-finch servers
13+ runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ sample :
18+ # servers
19+ - samples/server/petstore/scala-finch # cannot be tested with jdk11
20+ steps :
21+ - uses : actions/checkout@v4
22+ - uses : actions/setup-java@v4
23+ with :
24+ distribution : ' temurin'
25+ java-version : 8
26+ - name : Setup sbt launcher
27+ uses : sbt/setup-sbt@v1
28+ - name : Cache maven dependencies
29+ uses : actions/cache@v4
30+ env :
31+ cache-name : maven-repository
32+ with :
33+ path : |
34+ ~/.ivy2
35+ key : ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/build.sbt') }}
36+ - name : Build and test
37+ working-directory : ${{ matrix.sample }}
38+ run : sbt -v +test
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ jobs:
2020 matrix :
2121 sample :
2222 # clients
23- - ' samples/client/petstore/java/okhttp-gson'
23+ - samples/client/petstore/java/okhttp-gson
2424 - samples/client/petstore/scalaz
2525 - samples/client/petstore/scala-pekko
2626 - samples/client/petstore/scala-http4s
27- - samples/client/petstore/scala-sttp
28- - samples/client/petstore/scala-sttp-circe
27+ # - samples/client/petstore/scala-sttp
28+ # - samples/client/petstore/scala-sttp-circe
2929 # servers
3030 - samples/server/petstore/scala-lagom-server
3131 - samples/server/petstore/scala-play-server
4040 - uses : actions/setup-java@v4
4141 with :
4242 distribution : ' temurin'
43- java-version : 17
43+ java-version : 11
4444 - name : Setup sbt launcher
4545 uses : sbt/setup-sbt@v1
4646 - name : Cache maven dependencies
You can’t perform that action at this time.
0 commit comments