Skip to content

[bot]: Bump org.codehaus.mojo:versions-maven-plugin from 2.15.0 to 2.17.0 #3648

[bot]: Bump org.codehaus.mojo:versions-maven-plugin from 2.15.0 to 2.17.0

[bot]: Bump org.codehaus.mojo:versions-maven-plugin from 2.15.0 to 2.17.0 #3648

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Tests PRs on multiple operating systems and Java versions
name: Build Chain
on:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- main
- 8.*
- 9.*
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
- '.ci/**'
defaults:
run:
shell: bash
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: [ 17, 20 ]
maven-version: [ '3.8.7' ]
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} - Java ${{ matrix.java-version }} - Maven
timeout-minutes: 120
steps:
- name: Clean Disk Space
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/ubuntu-disk-space@main
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Support long paths
if: ${{ matrix.os == 'windows-latest' }}
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/long-paths@main
- name: Java and Maven Setup
uses: apache/incubator-kie-kogito-pipelines/.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: Set FLOW_TYPE to pull-request
if: github.event_name == 'pull_request'
run: echo "FLOW_TYPE=pull-request" >> $GITHUB_ENV
- name: Set FLOW_TYPE to branch
if: github.event_name == 'push'
run: echo "FLOW_TYPE=branch" >> $GITHUB_ENV
- name: Build Chain
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main
env:
# maven-assembly-plugin occasionally fails on heap space when building the ZIP in optaplanner-docs
MAVEN_OPTS: "-Xmx2048m"
with:
definition-file: https://github.com/raw/${GROUP:apache}/incubator-kie-optaplanner/${BRANCH:main}/.ci/buildchain-config.yaml
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
starting-project: apache/incubator-kie-optaplanner
flow-type: ${{ env.FLOW_TYPE }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Surefire Report
uses: apache/incubator-kie-kogito-pipelines/.ci/actions/surefire-report@main
if: ${{ always() }}
with:
report_paths: '**/*-reports/TEST-*.xml'