feat: adds mapstruct to compiler plugin #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: boot-hibernate2ndlevelcache-sample | |
on: | |
push: | |
paths: | |
- "jpa/boot-hibernate2ndlevelcache-sample/**" | |
branches: [main] | |
pull_request: | |
paths: | |
- "jpa/boot-hibernate2ndlevelcache-sample/**" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
name: Run Unit & Integration Tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: "jpa/boot-hibernate2ndlevelcache-sample" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
java-version: 17 | |
distribution: "zulu" | |
cache: "maven" | |
- name: Start up redis & postgres via Docker Compose | |
run: | | |
cd docker | |
docker compose up -d postgresqldb redis | |
sleep 5 | |
docker ps -a | |
- name: Build and analyze | |
run: ./mvnw clean verify | |
- name: Codecov | |
uses: codecov/[email protected] |