(doc) switch to shared pipeline
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 15e3224..7a38e97 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -1,4 +1,3 @@
-#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -7,7 +6,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
@@ -15,29 +14,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-#
-name: Java CI
+name: Verify
-on: [push]
+on:
+ push:
+ branches-ignore:
+ - dependabot/**
+ pull_request:
jobs:
build:
- name: Test with Java ${{ matrix.jdk }}
- #runs-on: ${{ matrix.os }}
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- jdk: [7, 8, 11, 17]
- #os: [ubuntu-latest, windows-latest, macOS-latest]
-
- steps:
- - uses: actions/checkout@v2
- - name: Set up JDK ${{ matrix.jdk }}
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.jdk }}
- - name: Build with Maven
- run: mvn clean verify
-
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1