From d308cd31df8780dea93aae20f55ada03fc29296d Mon Sep 17 00:00:00 2001 From: Vadim <69987865+ProxyNexus@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:46:18 +0300 Subject: [PATCH] Workflow update (#339) * Updated action dependencies * Added 21 java version support * Jobs don't fail on error * Removed unused .travis.yml * Updated jakarta workflow --- .github/workflows/test-pr.yml | 15 +++++++++------ .github/workflows/update-jakarta-workflow.yml | 11 +++++++---- .travis.yml | 13 ------------- README.md | 2 +- 4 files changed, 17 insertions(+), 24 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 79b18f0c..15e3451d 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -7,16 +7,19 @@ on: jobs: build: name: Checkout and Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + + continue-on-error: true strategy: + fail-fast: false matrix: - java-version: [8, 11, 16, 17] + java-version: [8, 11, 16, 17, 21] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: JDK setup - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java-version }} distribution: 'temurin' @@ -44,11 +47,11 @@ jobs: coverage: name: Quality Assurance - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [ build ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download metadata coverage report uses: actions/download-artifact@master with: diff --git a/.github/workflows/update-jakarta-workflow.yml b/.github/workflows/update-jakarta-workflow.yml index fb87747d..8e05273d 100644 --- a/.github/workflows/update-jakarta-workflow.yml +++ b/.github/workflows/update-jakarta-workflow.yml @@ -9,18 +9,21 @@ jobs: checkout-and-build: runs-on: ubuntu-latest + continue-on-error: true + strategy: + fail-fast: false matrix: - java-version: [11, 16, 17] + java-version: [11, 16, 17, 21] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: integration - name: JDK setup - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java-version }} distribution: 'temurin' @@ -44,7 +47,7 @@ jobs: needs: checkout-and-build steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: integration diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d294077a..00000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -language: java -sudo: required -dist: trusty - -jdk: - - openjdk8 - - oraclejdk8 - - openjdk11 - -branches: - except: - - /^v|d\d+\.\d+\.\d+$/ - - /^jenkins-veraPDF-pdfbox-validation-v|d\\d+\\.\\d+\\.\\d+$/ diff --git a/README.md b/README.md index 9e69cbb0..984ffe12 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Quick Start In order to build the parser you'll need: - * Java 9 - 17, which can be downloaded [from Oracle](https://www.oracle.com/technetwork/java/javase/downloads/index.html), or for Linux users [OpenJDK](https://openjdk.java.net/install/index.html). + * Java 9 - 21, which can be downloaded [from Oracle](https://www.oracle.com/technetwork/java/javase/downloads/index.html), or for Linux users [OpenJDK](https://openjdk.java.net/install/index.html). * [Maven v3+](https://maven.apache.org/) ### Building the veraPDF PDF Box Validation Model