Files
spring-modulith/.github/workflows/integration.yaml
Oliver Drotbohm 40ab6cecfc GH-357 - Reinstantiate general compatibility with Boot 3.2 / Framework 6.1.
We now gracefully fall back to reflective invocation of the application event listener shouldHandle(…) method if we're not on Spring Framework 6.2. If we are, we invoke the newly introduced method directly.

This allows projects to upgrade to Spring Modulith 1.1 without necessarily upgrading to Boot 3.2.
2023-11-02 14:27:52 +01:00

37 lines
925 B
YAML

name: Compatibility Build
on:
workflow_dispatch:
schedule:
- cron: '5 6 * * *'
jobs:
integration:
strategy:
matrix:
version:
- '3.1.5'
- '3.1.6-SNAPSHOT'
- '3.2.0-SNAPSHOT'
name: Build against Boot ${{ matrix.version }}
runs-on: ubuntu-latest
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: Build with Maven
env:
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
run: ./mvnw -B -Pwith-preview-repos -Dspring-boot.version=${{ matrix.version }}