From a9b371a9f577bb1c5752327d31d7f38c702e3b4e Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 6 Dec 2022 09:27:54 +1000 Subject: [PATCH 1/3] Add gh actions Signed-off-by: Olivier Lamy --- .github/dependabot.yml | 10 +++++++++ .github/release-drafter.yml | 2 ++ .github/workflows/maven.yml | 32 +++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 8 +++++++ 4 files changed, 52 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/maven.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..b76b8957 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "maven" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..a5782720 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,2 @@ +_extends: .github +tag-template: plexus-containers-$NEXT_MINOR_VERSION diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..7ea3a4e1 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,32 @@ +# 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: GitHub CI + +on: [push, pull_request] + +jobs: + + build: + name: Build it + uses: codehaus-plexus/.github/.github/workflows/maven.yml@master + with: + jdk-fast-fail-build: '17' + jdk-matrix: '["8", "11", "17"]' + jdk-distribution-matrix: '["temurin"]' + os-matrix: '["ubuntu-latest","windows-latest", "macOS-latest"]' + maven_args: 'verify javadoc:javadoc -e -B -V -fae ' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000..2de687a3 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,8 @@ +name: Release Drafter +on: + push: + branches: + - master +jobs: + update_release_draft: + uses: codehaus-plexus/.github/.github/workflows/release-drafter.yml@master From ef408fb8e87328d60764712658f40a29fc7d5d47 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 6 Dec 2022 09:31:42 +1000 Subject: [PATCH 2/3] touch Signed-off-by: Olivier Lamy --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b76b8957..c9ed96bf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,3 +8,4 @@ updates: directory: "/" schedule: interval: "daily" + From b3eca2394672512a63bffe216fa3d5fb0986f0dd Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 6 Dec 2022 09:33:20 +1000 Subject: [PATCH 3/3] touch Signed-off-by: Olivier Lamy --- .github/dependabot.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c9ed96bf..b76b8957 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,4 +8,3 @@ updates: directory: "/" schedule: interval: "daily" -