diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index 5839dc4cf..300d63d9c 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -10,29 +10,6 @@ concurrency: cancel-in-progress: true jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - java: [ - { 'version': '11', opts: '' }, - { 'version': '17', 'opts': '' }, - { 'version': '20', 'opts': '' } - ] - name: Build with Java ${{ matrix.java.version }} (OpenJDK) - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - name: set up jdk ${{matrix.java.version}} - with: - distribution: temurin - java-version: ${{matrix.java.version}} - cache: maven - - name: Build with Maven - env: - MAVEN_OPTS: ${{ matrix.java.opts }} - run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify - snapshot: name: Deploy snapshots needs: build @@ -44,6 +21,8 @@ jobs: java-version: 11 distribution: temurin cache: maven + - name: Build with Maven + run: ./mvnw -s .build/maven-ci-settings.xml -B clean verify - name: Deploy snapshots env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -51,23 +30,3 @@ jobs: run: | .build/decrypt-secrets.sh .build/deploy-snapshot.sh - - quality-and-compatibility: - name: Test coverage and compatibility checks - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - java-version: 11 - distribution: temurin - cache: maven - - name: Compatibility checks - run: ./mvnw -s .build/maven-ci-settings.xml -pl '!bom' -B install revapi:check@check-compatibility -DskipTests -fae - - name: Test coverage - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./mvnw -s .build/maven-ci-settings.xml verify -Pcoverage - - name: Codecov - uses: codecov/codecov-action@v1.0.13