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-checkstyle-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new de7dc44 CI: use shared workflow
de7dc44 is described below
commit de7dc44af5c6c62c2f968d4ad359d451c813331b
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 21 11:55:47 2021 +0100
CI: use shared workflow
---
.github/workflows/maven.yml | 37 +++++++------------------------------
1 file changed, 7 insertions(+), 30 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index b72a98c..41d662d 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -14,38 +14,15 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
name: Java CI
-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-ea, 17-ea ]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up cache for ~./m2/repository
- uses: actions/[email protected]
- with:
- path: ~/.m2/repository
- key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{
hashFiles('**/pom.xml') }}
- restore-keys: |
- maven-${{ matrix.os }}-java${{ matrix.java }}-
- maven-${{ matrix.os }}-
- - name: Set up JDK
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.java }}
-
- - name: Build with Maven
- run: mvn verify -e -B -V -ntp -Prun-its
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1