forked from moduliths/moduliths
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (39 loc) · 1.03 KB
/
Copy pathbuild.yaml
File metadata and controls
49 lines (39 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Maven Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build project
runs-on: ubuntu-latest
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build with Maven
run: ./mvnw -B
integrations:
runs-on: ubuntu-latest
strategy:
matrix:
boot-version: ["2.4.13", "2.5.12", "2.7.0-M3"]
name: Integration test (Boot ${{ matrix.boot-version }})
needs: build
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build with Maven (Boot ${{ matrix.boot-version }})
run: ./mvnw -B versions:update-parent -DparentVersion=${{ matrix.boot-version }} -DgenerateBackupPoms=false && mvn -B