feat : apply spring boot best practices (#1395) #314
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-choas-monkey | |
on: | |
push: | |
paths: | |
- "boot-choas-monkey/**" | |
branches: [main] | |
pull_request: | |
paths: | |
- "boot-choas-monkey/**" | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
name: Run Unit & Integration Tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: boot-choas-monkey | |
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 package |