Skip to content

Commit 4ac2cd0

Browse files
committed
Add CI Workflow
1 parent 89533f3 commit 4ac2cd0

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
test:
13+
name: Test on Java 21
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Check out repository
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Java 21
21+
uses: actions/setup-java@v4
22+
with:
23+
distribution: temurin
24+
java-version: '21'
25+
cache: maven
26+
27+
- name: Run tests
28+
run: mvn --batch-mode --fail-at-end verify

0 commit comments

Comments
 (0)