[8.13.x][RHPAM-4700][CVE-2022-1471] Upgrade Jackson to 2.15.2 to make it work with SnakeYAML 2.0 #721
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Chain | |
on: | |
pull_request: | |
branches: | |
- main | |
- 8.* | |
paths-ignore: | |
- 'LICENSE*' | |
- 'CODEOWNERS' | |
- '.gitignore' | |
- '.gitattributes' | |
- '.travis.yml' | |
- '*.md' | |
- '*.adoc' | |
- '*.txt' | |
- 'runOnOpenShift.sh' | |
- 'runLocally.sh' | |
- 'ide-configuration/**' | |
jobs: | |
build-chain: | |
concurrency: | |
group: pull_request-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.java-version }} | |
cancel-in-progress: true | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
java-version: [11, 17] | |
maven-version: ['3.8.6'] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} - Java ${{ matrix.java-version }} - Maven | |
steps: | |
- name: Clean Disk Space | |
uses: kiegroup/kie-ci/.ci/actions/ubuntu-disk-space@main | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
- name: Support long paths | |
if: ${{ matrix.os == 'windows-latest' }} | |
uses: kiegroup/kie-ci/.ci/actions/long-paths@main | |
- name: Java and Maven Setup | |
uses: kiegroup/kie-ci/.ci/actions/maven@main | |
with: | |
java-version: ${{ matrix.java-version }} | |
maven-version: ${{ matrix.maven-version }} | |
cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} | |
- name: Build Chain | |
uses: kiegroup/kie-ci/.ci/actions/build-chain@main | |
with: | |
definition-file: https://raw.githubusercontent.com/kiegroup/kogito-pipelines/%{process.env.GITHUB_BASE_REF.replace(/(\d*)\.(.*)\.(.*)/g, (m, n1, n2, n3) => `${+n1-7}.${n2}.${n3}`)}/.ci/pull-request-config.yaml | |
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }} | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Surefire Report | |
uses: kiegroup/kie-ci/.ci/actions/surefire-report@main | |
if: ${{ always() }} | |
- name: Check uncommitted changes | |
if: ${{ always() }} | |
# Check that Git working tree is clean after running `npm install` via the frontend-maven-plugin. | |
# The `git` command exits with 1 and fails the build if there are any uncommitted changes. | |
run: git diff HEAD --exit-code | |
working-directory: kiegroup_optaweb-vehicle-routing/optaweb-vehicle-routing |