Skip to content

Commit

Permalink
adds workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Apr 12, 2024
1 parent 050d244 commit 53ca3c4
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/boot-choas-monkey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
java-version: 21
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/boot-grafana-lgtm.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
java-version: 21
distribution: "temurin"
cache: "maven"

- name: Build and analyze
run: ./mvnw clean package
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<module>batch-boot-jpa-sample</module>
<module>boot-api-archunit-sample</module>
<module>boot-choas-monkey</module>
<module>boot-grafana-lgtm</module>
<module>boot-mongodb-elasticsearch</module>
<module>boot-opensearch-sample</module>
<module>boot-rabbitmq-thymeleaf</module>
Expand Down

0 comments on commit 53ca3c4

Please sign in to comment.