-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jasper Kamerling <[email protected]>
- Loading branch information
1 parent
18ff3e9
commit 248a937
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,21 +19,21 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
java-version: '21' | ||
distribution: 'temurin' | ||
- name: Setup Gradle to generate and submit dependency graphs | ||
uses: gradle/[email protected] | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
dependency-graph: generate-and-submit | ||
- name: Build with Gradle | ||
run: ./gradlew build integrationTest bootBuildImage | ||
run: ./gradlew build testCodeCoverageReport integrationTestCodeCoverageReport integrationTest bootBuildImage | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run sonar analysis with Gradle | ||
run: ./gradlew testCodeCoverageReport integrationTestCodeCoverageReport sonar | ||
run: ./gradlew sonar | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|