diff --git a/.github/workflows/boot-choas-monkey.yml b/.github/workflows/boot-choas-monkey.yml
index f62ff254b..9ca4103ff 100644
--- a/.github/workflows/boot-choas-monkey.yml
+++ b/.github/workflows/boot-choas-monkey.yml
@@ -25,7 +25,7 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v4.2.1
with:
java-version: 21
diff --git a/.github/workflows/boot-grafana-lgtm.yml b/.github/workflows/boot-grafana-lgtm.yml
new file mode 100644
index 000000000..dc8052d23
--- /dev/null
+++ b/.github/workflows/boot-grafana-lgtm.yml
@@ -0,0 +1,36 @@
+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/setup-java@v4.2.1
+ with:
+ java-version: 21
+ distribution: "temurin"
+ cache: "maven"
+
+ - name: Build and analyze
+ run: ./mvnw clean package
diff --git a/pom.xml b/pom.xml
index 097f200a6..397498c8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,6 +17,7 @@
batch-boot-jpa-sample
boot-api-archunit-sample
boot-choas-monkey
+ boot-grafana-lgtm
boot-mongodb-elasticsearch
boot-opensearch-sample
boot-rabbitmq-thymeleaf