Bump org.hibernate.orm:hibernate-core from 6.4.4.Final to 6.6.0.Final #333
Workflow file for this run
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: CI - Pull Request | |
on: | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java-version: [ 17, 21 ] | |
runs-on: macos-latest | |
permissions: | |
checks: write | |
contents: read | |
issues: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
name: 📥 Checkout repository | |
with: | |
fetch-depth: 0 | |
- name: 🔧 Set up JDK ${{ matrix.java-version }} | |
uses: actions/[email protected] | |
with: | |
distribution: 'oracle' | |
java-version: ${{ matrix.java-version }} | |
- name: 🫙 Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven2- | |
- name: 🛠 Build and test with ☕ Java ${{ matrix.java-version }} | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Action" | |
./mvnw clean install -B -Powasp -Pjdk${{ matrix.java-version }} | |
env: | |
GIT_COMMIT: ${{github.event.workflow_run.head_commit.id}} | |
HEAD_BRANCH: ${{github.event.workflow_run.head_branch}} | |
- name: 📊 Publish Test Report | |
if: always() | |
uses: mikepenz/action-junit-report@v4 | |
with: | |
check_name: Java CI / Test Report (${{ matrix.java-version }}) | |
report_paths: '**/target/surefire-reports/TEST-*.xml' | |
check_retries: 'true' | |
- name: 🧹 Clean Maven cache | |
run: | | |
find ~/.m2/repository -type d -name '*SNAPSHOT' | xargs rm -fr |