Skip to content

Commit

Permalink
Merge pull request #46 from OSGP/github-actions-update
Browse files Browse the repository at this point in the history
Updates github actions
  • Loading branch information
smvdheijden authored Feb 7, 2025
2 parents ac7b59d + 579643f commit 0e5216a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
Expand All @@ -31,11 +31,7 @@ jobs:
with:
dependency-graph: generate-and-submit
- name: Build with Gradle
run: ./gradlew build integrationTest bootBuildImage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run sonar analysis with Gradle
run: ./gradlew testCodeCoverageReport integrationTestCodeCoverageReport sonar
run: ./gradlew build integrationTest testCodeCoverageReport integrationTestCodeCoverageReport sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit 0e5216a

Please sign in to comment.