Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Add github workflow for java checkg
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen committed Dec 12, 2023
1 parent a231af1 commit ee21d72
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
build:
build-ts:
# prevent from running on forks
if: github.repository_owner == 'restatedev'
runs-on: ubuntu-latest
Expand All @@ -23,5 +23,32 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- run: cd typescript && npm ci
- run: cd typescript && npm run verify
- run: npm ci
with:
build-root-directory: typescript
- run: npm run verify
with:
build-root-directory: typescript

build-java:
# prevent from running on forks
if: github.repository_owner == 'restatedev'
runs-on: ubuntu-latest
strategy:
matrix:
jvm-version: [ 17 ]

steps:
- uses: actions/checkout@v3

- name: Use JVM ${{ matrix.jvm-version }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.jvm-version }}

- name: Test java tour
uses: gradle/gradle-build-action@v2
with:
arguments: check
build-root-directory: java

0 comments on commit ee21d72

Please sign in to comment.