Skip to content

Bump org.jline:jline from 4.0.9 to 4.0.10 #7144

Bump org.jline:jline from 4.0.9 to 4.0.10

Bump org.jline:jline from 4.0.9 to 4.0.10 #7144

Workflow file for this run

name: Test & documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: read
env:
MAVEN_OPTS: -DtrimStackTrace=false -D'maven.resolver.transport=wagon'
DEV_JDK: '21'
jobs:
license:
name: License check
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: liberica
java-version: ${{ env.DEV_JDK }}
- uses: ./.github/actions/maven-cache
- run: mvn -V -B --no-transfer-progress license:check
timeout-minutes: 10
dependencies:
name: Dependency checks
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' }}
runs-on: ubuntu-latest
timeout-minutes: 95
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: liberica
java-version: ${{ env.DEV_JDK }}
- uses: ./.github/actions/maven-cache
- uses: ./.github/actions/maven-github-settings
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set week for OWASP cache key
run: echo "WEEK=$(date +%Y-%U)" >> $GITHUB_ENV
- name: Restore OWASP dependency-check cache
uses: actions/cache/restore@v5
with:
path: ~/.dependency-check-data
key: owasp-dc-${{ env.WEEK }}
restore-keys: owasp-dc-
- name: OWASP dependency check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
run: mvn -V -B --no-transfer-progress dependency-check:check
timeout-minutes: 90
- name: Save OWASP dependency-check cache
if: github.event_name == 'push'
uses: actions/cache/save@v5
with:
path: ~/.dependency-check-data
key: owasp-dc-${{ env.WEEK }}
test:
name: ${{ matrix.os }} ${{ matrix.test-type }} (Java ${{ matrix.java-version }})
runs-on: ${{ matrix.os }}
timeout-minutes: 75
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
test-type: [unit, integration]
java-version: ['21']
exclude:
- os: windows-latest
test-type: unit
- os: macOS-latest
test-type: unit
steps:
- uses: actions/checkout@v6
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: liberica
java-version: ${{ matrix.java-version }}
- uses: ./.github/actions/maven-cache
with:
java-version: ${{ matrix.java-version }}
- name: Install Maven Daemon
id: install-mvnd
uses: ./.github/actions/install-mvnd
with:
version: '1.0.3'
file-version-suffix: ''
cache: 'true'
- name: Maven Build
timeout-minutes: 30
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress -T 1C compile test-compile -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' --projects '!exist-installer'
- name: Maven Unit Tests
if: matrix.test-type == 'unit'
timeout-minutes: 45
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress test -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' -D'mvnd.maxLostKeepAlive=6000'
- name: Maven Integration Tests
if: matrix.test-type == 'integration'
timeout-minutes: 45
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress verify -DskipUnitTests=true -DtrimStackTrace=false -D'dependency-check.skip' -D'license.skip' -D'mvnd.maxLostKeepAlive=6000'
- name: Javadoc (ubuntu unit only)
if: matrix.os == 'ubuntu-latest' && matrix.test-type == 'unit'
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress -q -T 1C install javadoc:javadoc -DskipTests -D'dependency-check.skip' -D'license.skip' --projects '!exist-distribution,!exist-installer' --also-make
- name: Maven Code Coverage (Develop branch, ubuntu unit only)
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' && matrix.test-type == 'unit'
env:
CI_NAME: github
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}
CI_BUILD_NUMBER: ${{ github.run_id }}
CI_BUILD_URL: https://github.com/${{ github.repository }}/commit/${{ github.event.after }}/checks
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B --no-transfer-progress jacoco:report coveralls:report
- name: Save Maven cache
if: github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.test-type == 'unit'
uses: actions/cache/save@v5
with:
path: ~/.m2
key: maven-${{ github.ref_name }}-java${{ matrix.java-version }}-${{ hashFiles('**/pom.xml') }}
enableCrossOsArchive: true
- name: Archive build logs
if: always()
uses: actions/upload-artifact@v7
with:
name: ${{ runner.os }}-${{ matrix.test-type }}-java${{ matrix.java-version }}-build-logs
retention-days: 5
path: |
**/hs_err_pid*.log
**/target/surefire-reports/*
**/target/failsafe-reports/*