This is an automated email from the ASF dual-hosted git repository. rotty3000 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/aries-component-dsl.git
commit 047d4646bcd451652efa311d756d28248be93526 Author: Raymond Augé <raymond.a...@liferay.com> AuthorDate: Wed Apr 7 09:46:06 2021 -0400 github actions and dependabot Signed-off-by: Raymond Augé <raymond.a...@liferay.com> --- .github/dependabot.yaml | 16 +++++++++++++++ .github/workflows/maven.yml | 50 +++++++++++++++++++++++++++++++++++++++++++++ README.md | 1 + 3 files changed, 67 insertions(+) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..4fd5944 --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,16 @@ +# GitHub Dependabot configuration file + +version: 2 +updates: + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + + # Maintain dependencies for maven + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..0ea546b --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,50 @@ +# Licensed 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: CI Build + +on: + push: + # Sequence of patterns matched against refs/heads + branches-ignore: + # Push events to branches matching refs/heads/dependabot/** + - 'dependabot/**' + pull_request: + +env: + LC_ALL: en_US.UTF-8 + +jobs: + JDKxx_Matrix: + strategy: + matrix: + java: [ 8, 11, 16, 17-ea ] + os: [ ubuntu-latest ] + include: + - os: windows-latest + java: 8 + name: JDK${{ matrix.java }} ${{ matrix.os }} + runs-on: ${{ matrix.os }} + steps: + - name: Git Checkout + uses: actions/checkout@v2 + - name: Set up Java + uses: actions/setup-java@v2 + with: + distribution: 'zulu' + check-latest: ${{ endsWith(matrix.java, '-ea') }} + java-version: ${{ matrix.java }} + - name: Build + continue-on-error: ${{contains(matrix.java, '-ea')}} + shell: bash + run: | + mvn -U -e -B -ntp install diff --git a/README.md b/README.md index 5da8247..958159c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # osgi-component-dsl [![Build Status](https://builds.apache.org/buildStatus/icon?job=Aries-component-dsl-master)](https://builds.apache.org/job/Aries-component-dsl-master) +[![CI Build](https://github.com/rotty3000/aries-component-dsl/actions/workflows/maven.yml/badge.svg)](https://github.com/rotty3000/aries-component-dsl/actions/workflows/maven.yml) [![Maven Central](https://img.shields.io/maven-central/v/org.apache.aries.component-dsl/org.apache.aries.component-dsl.component-dsl.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.apache.aries.component-dsl%22%20AND%20a:%22org.apache.aries.component-dsl.component-dsl%22) A lightweight functional DSL to interact with OSGi registry.