Skip to content

fix(jsonrpc): avoid wrapping tasks in list responses #12

fix(jsonrpc): avoid wrapping tasks in list responses

fix(jsonrpc): avoid wrapping tasks in list responses #12

name: Verify gRPC Generation
on:
push:
pull_request:
workflow_dispatch:
# Only run the latest job
concurrency:
group: '${{ github.workflow }} @ ${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
verify-grpc-generation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Verify gRPC code generation
# -pl: build only spec-grpc and compat-0.3/spec-grpc modules
# -am: also build their dependencies
# -Dskip.protobuf.generate=false: enable protoc generation in spec-grpc (skipped by default)
# -Pproto-compile: activate the proto-compile profile in compat-0.3/spec-grpc
run: mvn install -B -DskipTests -pl spec-grpc,compat-0.3/spec-grpc -am -Dskip.protobuf.generate=false -Pproto-compile