chore: minor refactor for v0.5.0 #48
Workflow file for this run
This file contains 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: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Check format | |
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
&& sh ./tools/check_format.sh | |
test_ingester_common: | |
needs: check_format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Maven Test | |
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
&& (mvn --projects ingester-common test | |
|| mvn --projects ingester-common test | |
|| mvn --projects ingester-common test) | |
test_ingester_grpc: | |
needs: check_format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Maven Test | |
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
&& (mvn --projects ingester-grpc test | |
|| mvn --projects ingester-grpc test | |
|| mvn --projects ingester-grpc test) | |
test_ingester_protocol: | |
needs: check_format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Maven Test | |
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V | |
&& (mvn --projects ingester-protocol test | |
|| mvn --projects ingester-protocol test | |
|| mvn --projects ingester-protocol test) |