Skip to content

Add CI badge to README.md #5

Add CI badge to README.md

Add CI badge to README.md #5

Workflow file for this run

name: CI
on:
push:
branches: ["main", "feature/**"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 26
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '26'
- name: Cache Maven local repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2-
- name: Build and run tests
run: mvn -B -U test