Skip to content

Commit 0775806

Browse files
committed
Add build & test workflow on commit
1 parent e11bbd2 commit 0775806

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/integration.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up JDK 17
18+
uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: '17'
22+
cache: 'maven' # Caches dependencies to speed up builds
23+
- name: Check code formatting
24+
run: mvn formatter:validate
25+
- name: Build and verify
26+
run: mvn -B clean verify

0 commit comments

Comments
 (0)