[BXMSPROD-1673] spring-boot to 2.6.6 #7
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: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
paths-ignore: | ||
- 'LICENSE*' | ||
- '.gitignore' | ||
- '*.md' | ||
- '*.adoc' | ||
- '*.txt' | ||
- 'build/**' | ||
jobs: | ||
concurrency: | ||
group: pull_request-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
build-chain: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
java-version: [8, 11] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
name: Maven Build | ||
steps: | ||
- name: Support longpaths | ||
if: ${{ matrix.os == 'windows-latest' }} | ||
run: git config --system core.longpaths true | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
# See https://docs.github.com/en/actions/guides/building-and-testing-java-with-maven#caching-dependencies | ||
- name: Cache Maven packages | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-${{ matrix.java-version }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-${{ matrix.java-version }}-m2 | ||
- name: Build Chain ${{ matrix.java-version }} | ||
id: build-chain | ||
uses: kiegroup/[email protected] | ||
with: | ||
definition-file: https://raw.githubusercontent.com/${GROUP}/droolsjbpm-build-bootstrap/main/.ci/pull-request-config.yaml | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Check Surefire Report | ||
if: ${{ always() }} | ||
uses: ScaCap/[email protected] | ||
with: | ||
fail_on_test_failures: true | ||
fail_if_no_tests: false | ||
skip_publishing: true |