This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c523b4  Run the build job through the shared Verify workflow
4c523b4 is described below

commit 4c523b4ef58059118e5c7221f51cb48ca0ffaff4
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Mon Nov 2 13:06:34 2026 +0000

    Run the build job through the shared Verify workflow
    
    The maven4-enabled and matrix-exclude inputs from #74 sat under a run step, 
which made the workflow invalid, so no job has started since.
---
 .github/workflows/maven.yaml | 47 ++++++++------------------------------------
 1 file changed, 8 insertions(+), 39 deletions(-)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index e922169..51bac4a 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -21,45 +21,14 @@ on: [ push, pull_request ]
 
 jobs:
   build:
-
-    strategy:
-      matrix:
-        os: [ ubuntu-latest, windows-latest, macOS-latest ]
-        java: [ 8, 11, 17, 21 ]
-      fail-fast: false
-
-    runs-on: ${{ matrix.os }}
-
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v7
-
-# 
https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#modifying-maven-toolchains
-      - name: Install Toolchain JDK
-        if: ${{ matrix.java == '8' }}
-        uses: actions/setup-java@v6
-        with:
-          distribution: 'zulu'
-          java-version: 11
-          cache: 'maven'
-
-      - name: Set up JDK
-        uses: actions/setup-java@v6
-        with:
-          distribution: 'zulu'
-          java-version: ${{ matrix.java }}
-          cache: 'maven'
-
-      - name: Build with Maven
-        run: mvn verify --errors --batch-mode --show-version -Prun-its
-        with:
-          maven4-enabled: true
-          matrix-exclude: '
-            [
-              {"jdk": "8"}
-            ]'
-
-
+    name: Verify
+    uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v5
+    with:
+      maven4-enabled: true
+      matrix-exclude: '
+        [
+          {"jdk": "8"}
+        ]'
 
   # Regression guard for issue #76: the GitHub runners all resolve to an 
English
   # locale, so the default matrix above never exercises the localized jdeprscan

Reply via email to