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 5
5
paths :
6
6
- ' samples/client/petstore/scala**'
7
7
- ' samples/server/petstore/scala**'
8
- - ' samples/client/petstore/java/okhttp-gson/**'
9
8
pull_request :
10
9
paths :
11
10
- ' samples/client/petstore/scala**'
12
11
- ' samples/server/petstore/scala**'
13
- - ' samples/client/petstore/java/okhttp-gson/**'
14
12
jobs :
15
13
build :
16
14
name : Build sbt/Scala client, servers
20
18
matrix :
21
19
sample :
22
20
# clients
23
- - samples/client/petstore/java/okhttp-gson
24
21
- samples/client/petstore/scalaz
25
22
- samples/client/petstore/scala-pekko
26
23
- samples/client/petstore/scala-http4s
You can’t perform that action at this time.
0 commit comments