Skip to content

Commit

Permalink
#2058 - Enable compatibility builds on all 2.x branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Nov 16, 2023
1 parent 0f6eef0 commit f53783e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/compatibility.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Compatibility builds

on:
workflow_dispatch:
schedule:
- cron: '5 6 * * *'
branches:
- 'main'
- '2.1.x'
- '2.0.x'

jobs:
compatibility:

runs-on: ubuntu-latest

strategy:
matrix:
spring: ['', 'spring-next', 'spring-61-next']
kotlin: ['', 'kotlin-next', 'kotlin-2-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

0 comments on commit f53783e

Please sign in to comment.