7
7
branches : [ main ]
8
8
9
9
jobs :
10
- build :
10
+ build-jvm :
11
+ # prevent from running on forks
12
+ if : github.repository_owner == 'restatedev'
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ jvm-version : [ 17 ]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+
21
+ - name : Use JVM ${{ matrix.jvm-version }}
22
+ uses : actions/setup-java@v3
23
+ with :
24
+ distribution : ' temurin'
25
+ java-version : ${{ matrix.jvm-version }}
26
+
27
+ - name : Test jvm/java-blocking-http
28
+ uses : gradle/gradle-build-action@v2
29
+ with :
30
+ arguments : check
31
+ build-root-directory : jvm/java-blocking-http
32
+ - name : Test jvm/java-blocking-lambda
33
+ uses : gradle/gradle-build-action@v2
34
+ with :
35
+ arguments : check
36
+ build-root-directory : jvm/java-blocking-lambda
37
+ - name : Test jvm/kotlin-http
38
+ uses : gradle/gradle-build-action@v2
39
+ with :
40
+ arguments : check
41
+ build-root-directory : jvm/kotlin-http
42
+ - name : Test jvm/kotlin-lambda
43
+ uses : gradle/gradle-build-action@v2
44
+ with :
45
+ arguments : check
46
+ build-root-directory : jvm/kotlin-lambda
47
+ build-ts :
11
48
# prevent from running on forks
12
49
if : github.repository_owner == 'restatedev'
13
50
runs-on : ubuntu-latest
@@ -17,11 +54,13 @@ jobs:
17
54
18
55
steps :
19
56
- uses : actions/checkout@v3
57
+
20
58
- uses : bufbuild/buf-setup-action@v1
21
59
- name : Use Node.js ${{ matrix.node-version }}
22
60
uses : actions/setup-node@v3
23
61
with :
24
62
node-version : ${{ matrix.node-version }}
25
63
registry-url : ' https://registry.npmjs.org'
64
+
26
65
- run : npm ci --prefix typescript
27
66
- run : npm run --prefix typescript -ws verify
0 commit comments