File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed
Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Samples Java (sbt)
2+
3+ on :
4+ push :
5+ paths :
6+ - ' samples/client/petstore/java/okhttp-gson/**'
7+ pull_request :
8+ paths :
9+ - ' samples/client/petstore/java/okhttp-gson/**'
10+ jobs :
11+ build :
12+ name : Build sbt/Java client, servers
13+ runs-on : ubuntu-latest
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ sample :
18+ # clients
19+ - samples/client/petstore/java/okhttp-gson
20+ steps :
21+ - uses : actions/checkout@v5
22+ - uses : actions/setup-java@v5
23+ with :
24+ distribution : ' temurin'
25+ java-version : 11
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 55 paths :
66 - ' samples/client/petstore/scala**'
77 - ' samples/server/petstore/scala**'
8- - ' samples/client/petstore/java/okhttp-gson/**'
98 pull_request :
109 paths :
1110 - ' samples/client/petstore/scala**'
1211 - ' samples/server/petstore/scala**'
13- - ' samples/client/petstore/java/okhttp-gson/**'
1412jobs :
1513 build :
1614 name : Build sbt/Scala client, servers
2018 matrix :
2119 sample :
2220 # clients
23- - samples/client/petstore/java/okhttp-gson
2421 - samples/client/petstore/scalaz
2522 - samples/client/petstore/scala-pekko
2623 - samples/client/petstore/scala-http4s
You can’t perform that action at this time.
0 commit comments