Skip to content

chore(deps): update eclipse-temurin docker tag to v21.0.4_7-jre-alpine #371

chore(deps): update eclipse-temurin docker tag to v21.0.4_7-jre-alpine

chore(deps): update eclipse-temurin docker tag to v21.0.4_7-jre-alpine #371

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 21
uses: actions/[email protected]
with:
java-version: 21
distribution: "temurin"
cache: "maven"
- name: Build and analyze
run: ./mvnw clean verify
- if: ${{ github.ref == 'refs/heads/main' }}
name: SonarBuild
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./mvnw -B sonar:sonar -Dsonar.projectKey=rajadilipkolli_my-spring-boot-experiments