You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2021/05/30 09:09:27 UTC

[maven-doxia] branch master updated: Adjust Github CI config

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-doxia.git


The following commit(s) were added to refs/heads/master by this push:
     new 794c39d  Adjust Github CI config
794c39d is described below

commit 794c39dbee17a35e2e74bf001450b2c3cf15959a
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun May 30 11:05:07 2021 +0200

    Adjust Github CI config
---
 .github/dependabot.yml      | 19 +++++++++++++++--
 .github/workflows/maven.yml | 51 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+), 2 deletions(-)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 2a05b81..de07107 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -20,9 +20,10 @@ updates:
   directory: "/"
   schedule:
     interval: daily
-    time: '04:00'
-  open-pull-requests-limit: 10
   ignore:
+    - dependency-name: org.apache.maven:*
+      versions:
+        - "> 3.1.1"
 # ignore Java 8+ dependencies
     - dependency-name: org.mockito:mockito-core
       versions:
@@ -30,3 +31,17 @@ updates:
     - dependency-name: org.apache.commons:commons-lang3
       versions:
       - ">= 3.9"
+    - dependency-name: commons-io:commons-io
+      versions:
+        - ">= 2.7"
+# Ignore Maven 3.2.1+
+    - dependency-name: org.apache.maven.plugin-testing:maven-plugin-testing-tools
+      versions:
+        - ">=3.2.0"
+    - dependency-name: org.apache.maven.plugin-testing:maven-plugin-testing-harness
+      versions:
+        - ">=3.2.0"
+- package-ecosystem: "github-actions"
+  directory: "/"
+  schedule:
+    interval: "daily"
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 0000000..d297840
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,51 @@
+# 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
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "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
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Java CI with Maven
+
+on: [push, pull_request]
+
+jobs:
+  build:
+    strategy:
+      matrix:
+        os: [ubuntu-latest, windows-latest, macOS-latest]
+        java: [8, 11, 16, 17-ea]
+      fail-fast: true
+
+    runs-on: ${{ matrix.os }}
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+
+      - name: Cache local Maven repository
+        uses: actions/cache@v2.1.4
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
+
+      - name: Set up JDK
+        uses: actions/setup-java@v2
+        with:
+          java-version: ${{ matrix.java }}
+          distribution: 'adopt'
+
+      - name: Build with Maven
+        run: mvn verify -e -B -V -P run-its