chore(deps): update dependency org.owasp:dependency-check-maven to v9… #194
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 21 | |
uses: actions/[email protected] | |
with: | |
java-version: 21 | |
distribution: "temurin" | |
cache: "maven" | |
- name: Start up redis via Docker Compose | |
run: | | |
cd docker | |
docker compose up -d redis | |
sleep 5 | |
docker ps -a | |
- name: Build and analyze | |
run: ./mvnw clean verify | |
- name: Codecov | |
uses: codecov/[email protected] |