From e0f7100ea8ba573ed02493dd3eb365f2df5df056 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Mon, 27 Feb 2023 16:28:09 +0100 Subject: [PATCH] #1923 - Add compatibility builds for Kotlin, Spring and Jackson preview versions. --- .github/workflows/compatibility.yaml | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/compatibility.yaml diff --git a/.github/workflows/compatibility.yaml b/.github/workflows/compatibility.yaml new file mode 100644 index 000000000..bc4b46a64 --- /dev/null +++ b/.github/workflows/compatibility.yaml @@ -0,0 +1,36 @@ +name: Compatibility builds + +on: + workflow_dispatch: + schedule: + - cron: '5 6 * * *' + +jobs: + compatibility: + + runs-on: ubuntu-latest + + strategy: + matrix: + spring: ['', 'spring-next'] + kotlin: ['', 'kotlin-next'] + jackson: ['', 'jackson-next'] + + name: Compatibility ${{ matrix.spring }} ${{ matrix.kotlin }} ${{ matrix.jackson }} + + steps: + + - name: Check out sources + uses: actions/checkout@v3 + + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 17 + cache: 'maven' + + - name: List dependencies + run: ./mvnw -D depedency:list -Dsort + - name: Build + run: ./mvnw -B verify -P${{ matrix.spring }},${{ matrix.kotlin }},${{ matrix.jackson }} --file pom.xml