We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fe5bd3 commit a5a8c64Copy full SHA for a5a8c64
.github/workflows/ci-pipeline.yml
@@ -0,0 +1,36 @@
1
+name: CI Pipeline
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
+ workflow_dispatch:
11
12
+jobs:
13
14
+ build-test:
15
+ name: Build & Unit Tests
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout Code
19
+ uses: actions/checkout@v3
20
21
+ - name: Set Up JDK 17
22
+ uses: actions/setup-java@v3
23
+ with:
24
+ java-version: '17'
25
+ distribution: 'temurin'
26
27
+ - name: Cache Maven Packages
28
+ uses: actions/cache@v3
29
30
+ path: ~/.m2
31
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
32
+ restore-keys: |
33
+ ${{ runner.os }}-m2-
34
35
+ - name: Build and Run Unit Tests
36
+ run: mvn clean verify
0 commit comments