-
Notifications
You must be signed in to change notification settings - Fork 21
44 lines (41 loc) · 1.69 KB
/
build.yml
File metadata and controls
44 lines (41 loc) · 1.69 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
name: DDD banking example Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: maven
- name: Build 1 with Maven
working-directory: "./1 Hands-on Legacy Code"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 2a with Maven
working-directory: "./2 Hands-on Bounded Contexts"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 2b with Maven
working-directory: "./2 Hands-on Bounded Contexts without Mapping"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 3a with Maven
working-directory: "./3 Hands-on Value Objects"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 3b with Maven
working-directory: "./3 Hands-on Value Objects without sharedKernel"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 4 with Maven
working-directory: "./4 Hands-on Rich domain model"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 5a with Maven
working-directory: "./5 Hands-on Cycle-free"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 5b with Maven
working-directory: "./5 Hands-on Cycle-free without sharedKernel"
run: ./mvnw --batch-mode --update-snapshots verify
- name: Build 6 with Maven
working-directory: "./6 Hands-on Event Based"
run: ./mvnw --batch-mode --update-snapshots verify