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:
28
.github/workflows/integration.yaml
vendored
Normal file
28
.github/workflows/integration.yaml
vendored
Normal 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 }}
|
||||
Reference in New Issue
Block a user