Skip to content

fix : sonar issue

fix : sonar issue #95

name: boot-mongodb-elasticsearch
on:
push:
paths:
- "boot-mongodb-elasticsearch/**"
branches: [main]
pull_request:
paths:
- "boot-mongodb-elasticsearch/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: boot-mongodb-elasticsearch
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/[email protected]
with:
java-version: "17"
distribution: "zulu"
cache: "maven"
- name: Build with Maven
run: ./mvnw clean verify