From 0e33dbe7c2f9cd3eb5891e8f9360144dfcc83d77 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Fri, 29 Oct 2021 23:25:40 +0200 Subject: [PATCH] use shared gh action --- .../workflows/{maven.yml => maven-verify.yml} | 32 +++++-------------- 1 file changed, 8 insertions(+), 24 deletions(-) rename .github/workflows/{maven.yml => maven-verify.yml} (59%) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml similarity index 59% rename from .github/workflows/maven.yml rename to .github/workflows/maven-verify.yml index e3628558..7a38e976 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven-verify.yml @@ -15,31 +15,15 @@ # 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: - - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - java: [8, 11, 16, 17-ea] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2.3.4 - - - name: Set up JDK - uses: actions/setup-java@v2.3.1 - with: - cache: 'maven' - java-version: ${{ matrix.java }} - distribution: 'temurin' - - - name: Build with Maven - run: mvn verify -e -B -V -P run-its + name: Verify + uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1