feat: 新增ClientEvent消息及多个GRPC服务,扩展客户端事件与心跳等功能 #143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Testing-Java | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release/* | |
| paths-ignore: | |
| - '**.md' | |
| pull_request: | |
| branches: | |
| - main | |
| - release/* | |
| paths-ignore: | |
| - '**.md' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| java: [ 8, 11, 17, 21, 25 ] | |
| os: [ 'windows-latest', 'ubuntu-latest' ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout codes | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| - name: Cache local Maven repository | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-maven- | |
| - name: Test with Maven | |
| run: | | |
| cd source/java | |
| bash build.sh | |
| cd polaris-specification | |
| mvn clean test -B -U |