diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml similarity index 58% rename from .github/workflows/maven.yml rename to .github/workflows/maven-verify.yml index 3416fdd4..aef403bc 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven-verify.yml @@ -15,32 +15,17 @@ # specific language governing permissions and limitations # under the License. -name: GitHub CI +name: Verify -on: [push, pull_request] +on: + push: + branches-ignore: + - dependabot/** + pull_request: jobs: build: + name: Verify + uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1 - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - java: [8, 11, 17-ea] - jdk: [temurin, zulu] - fail-fast: false - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up JDK - uses: actions/setup-java@v2 - with: - cache: 'maven' - distribution: ${{ matrix.jdk }} - java-version: ${{ matrix.java }} - - - name: Build with Maven - run: mvn verify -e -B -V -P run-its \ No newline at end of file