Skip to content

Commit

Permalink
Updated build script
Browse files Browse the repository at this point in the history
  • Loading branch information
w3stling committed Aug 24, 2024
1 parent 431424c commit 128abde
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,11 @@ jobs:
uses: gradle/actions/wrapper-validation@v4

- name: Build and test 🏗
run: ./gradlew test jacocoTestReport
run: ./gradlew test jacocoTestReport sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: SonarCloud Scan 🔎
uses: sonarsource/sonarcloud-github-action@v3
with:
args: >
-Dsonar.organization=w3stling
-Dsonar.projectKey=w3stling_rssreader
-Dsonar.java.binaries=build/classes
-Dsonar.sources=src/main/java
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Publish Test Results 🚦
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
Expand Down

0 comments on commit 128abde

Please sign in to comment.