GH-138 - Set up integration builds against upcoming Spring Boot snapshots and milestones

Set up dedicated GitHub actions workflow to run tests against upcoming Spring Boot snapshots and milestones. Introduced with-preview-repos build profile to activate the Maven repositories containing snapshots and milestones.
This commit is contained in:
Oliver Drotbohm
2023-02-23 20:16:45 +01:00
parent a9dd6add88
commit 9f87e702c9
2 changed files with 50 additions and 0 deletions

28
.github/workflows/integration.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Compatibility Build
on:
schedule:
- cron: '5 6 * * *'
jobs:
integration:
strategy:
matrix:
profile: ['3.0.4-SNAPSHOT', '3.1.0-SNAPSHOT']
name: Build against Boot ${{ matrix.profile }}
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
run: ./mvnw -B -Pwith-preview-repos -Dspring-boot.version=${{ matrix.version }}