This is an automated email from the ASF dual-hosted git repository.
adangel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-pmd-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 3fffd9c [MPMD-328] Shared Github Actions (#48)
3fffd9c is described below
commit 3fffd9cc7c0bea9ddd8489c9a7b4fee264d2d2c0
Author: Andreas Dangel <[email protected]>
AuthorDate: Thu Nov 25 15:17:19 2021 +0100
[MPMD-328] Shared Github Actions (#48)
---
.github/workflows/{maven.yml => maven-verify.yml} | 32 ++++++-----------------
1 file changed, 8 insertions(+), 24 deletions(-)
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 f6de60b..7a38e97 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, 17 ]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up JDK
- uses: actions/setup-java@v2
- with:
- distribution: 'temurin'
- java-version: ${{ matrix.java }}
- cache: 'maven'
-
- - name: Build with Maven
- run: mvn verify -e -B -V -ntp -P run-its
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1