diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df6011d9..4a53b01c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,13 +30,23 @@ jobs: with: java-version: 11 + - uses: actions/setup-java@v1.3.0 + name: set up JDK 10 + with: + java-version: 10 + + - uses: actions/setup-java@v1.3.0 + name: set up JDK 9 + with: + java-version: 9 + - uses: actions/setup-java@v1.3.0 name: set up JDK 8 with: java-version: 8 - name: build with maven - run: JAVA_HOME=$JAVA_HOME_11_X64 mvn -B formatter:validate verify --file pom.xml -Djava8.home=$JAVA_HOME_8_X64 + run: JAVA_HOME=$JAVA_HOME_11_X64 mvn -B formatter:validate verify --file pom.xml -Djava8.home=$JAVA_HOME_8_X64 -Djava9.home=$JAVA_HOME_9_X64 -Djava10.home=$JAVA_HOME_10_X64 quality: needs: [build]