feat: add CI

This commit is contained in:
2025-01-11 14:09:32 +01:00
parent b7e3d82b51
commit 13ed5f0d77
7 changed files with 111 additions and 17 deletions

26
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Maven CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@main
- name: Set up JDK 21
uses: actions/setup-java@main
with:
java-version: '21' # Change this to the required JDK version
distribution: 'oracle' # Use Eclipse Temurin distribution
cache: maven
- name: Build with Maven
run: mvn clean install