Skip to content

Commit 32b2240

Browse files
committed
Add GitHub Actions workflow for build & test
1 parent 3bd7cc2 commit 32b2240

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up JDK 21
16+
uses: actions/setup-java@v4
17+
with:
18+
java-version: '21'
19+
distribution: 'temurin'
20+
21+
- name: Build customer-service
22+
run: mvn -B clean verify
23+
working-directory: customer-service
24+
25+
- name: Build customer-service-client
26+
run: mvn -B clean verify
27+
working-directory: customer-service-client

0 commit comments

Comments
 (0)