Skip to content

Commit c0da500

Browse files
committed
ci: added GH workflow for CI
1 parent 4940a89 commit c0da500

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 with Maven
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ "main" ]
7+
pull_request:
8+
branches: [ "main" ]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up JDK 21
18+
uses: actions/setup-java@v4
19+
with:
20+
java-version: '21'
21+
distribution: 'temurin'
22+
cache: maven
23+
24+
- name: Grant execute permission for mvnw
25+
run: chmod +x mvnw
26+
27+
- name: Build with Maven
28+
run: ./mvnw -B verify --file pom.xml

0 commit comments

Comments
 (0)