This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new 6e5fa6e7c0 GH-2928: Workflow for checking dependency updates
6e5fa6e7c0 is described below
commit 6e5fa6e7c04d26889429706c23fd6311d9c11612
Author: Andy Seaborne <[email protected]>
AuthorDate: Wed Jan 8 09:53:53 2025 +0000
GH-2928: Workflow for checking dependency updates
---
.github/workflows/pr-dependencies.yml | 44 +++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/.github/workflows/pr-dependencies.yml
b/.github/workflows/pr-dependencies.yml
new file mode 100644
index 0000000000..2e6790f2b6
--- /dev/null
+++ b/.github/workflows/pr-dependencies.yml
@@ -0,0 +1,44 @@
+## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
+
+name: Maven Build on PR
+
+on:
+ pull_request:
+ types:
+ - opened
+ - reopened
+ branches:
+ - 'main'
+
+permissions:
+ contents: read
+
+jobs:
+
+ build-pr:
+ ## Dependabot only
+ if: github.actor == 'dependabot[bot]'
+
+ strategy:
+ fail-fast: false
+ matrix:
+ jdk_distribution: ['temurin']
+ os: [ubuntu-latest]
+ java_version: ['21']
+
+ runs-on: ${{ matrix.os }}
+
+ steps:
+
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up JDK ${{ matrix.java_version }}
+ uses: actions/setup-java@v4
+ with:
+ distribution: ${{ matrix.jdk_distribution }}
+ java-version: ${{ matrix.java_version }}
+
+ - name: Build with Maven (Java${{ matrix.java_version }} ${{
matrix.jdk_distribution }})
+ ## No javadoc - that needs visual check
+ run: mvn -B --file pom.xml -Dmaven.javadoc.skip=true install