Skip to content

Add jakarta validation in model domain (#86) #101

Add jakarta validation in model domain (#86)

Add jakarta validation in model domain (#86) #101

name: CI
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 21
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
run: mvn clean install --no-transfer-progress
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3