Skip to content

adds testcase and polish #107

adds testcase and polish

adds testcase and polish #107

name: boot-grafana-lgtm
on:
push:
paths:
- "boot-grafana-lgtm/**"
branches: [main]
pull_request:
paths:
- "boot-grafana-lgtm/**"
types:
- opened
- synchronize
- reopened
jobs:
build:
name: Run Unit & Integration Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: boot-grafana-lgtm
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