Compatibility builds #668
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: Compatibility builds | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '5 6 * * *' | |
jobs: | |
compatibility: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
branch: ['main', '2.3.x', '2.2.x', '2.1.x'] | |
spring: ['', 'spring-next', 'spring-61-next'] | |
kotlin: ['', 'kotlin-next', 'kotlin-2-next'] | |
jackson: ['', 'jackson-next'] | |
name: ${{ matrix.branch }} - ${{ matrix.spring }} ${{ matrix.kotlin }} ${{ matrix.jackson }} | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ matrix.branch }} | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
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 |