aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2023-03-14 14:25:22 +0000
committerSimon Steiner <ssteiner@apache.org>2023-03-14 14:33:14 +0000
commit6b10611ac0832b349a2955d539201971523e83e3 (patch)
treed97ab0680bb481e5ac0ff355fbfbb6179d36e5f3
parent2a73338d3424e9907b46a19f2288d61c9f885006 (diff)
downloadxmlgraphics-fop-6b10611ac0832b349a2955d539201971523e83e3.tar.gz
xmlgraphics-fop-6b10611ac0832b349a2955d539201971523e83e3.zip
Add github ci
-rw-r--r--.github/workflows/maven.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
new file mode 100644
index 000000000..c627bdb83
--- /dev/null
+++ b/.github/workflows/maven.yml
@@ -0,0 +1,30 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
+
+name: Java CI with Maven
+
+on:
+ push:
+ branches: [ "main" ]
+ pull_request:
+ branches: [ "main" ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK 8
+ uses: actions/setup-java@v3
+ with:
+ java-version: '8'
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B package checkstyle:check findbugs:check --file pom.xml
+
+ # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
+ #- name: Update dependency graph
+ # uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6