Skip to content

Commit

Permalink
Fix sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
amanteaux committed Oct 20, 2023
1 parent 9779c65 commit 65d4757
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
cache: maven
- name: Build & test with Maven
run: mvn clean test
- name: Sonar analysis
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar

sonarcloud:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sonar.sourceEncoding=UTF-8
sonar.sources=src

# Java
# sonar.java.binaries=/usr/local/java/jdk-17/bin/
sonar.java.source=17
sonar.exclusions=src/main/java/com/coreoz/db/generated/*,\
src/main/java/com/coreoz/db/QuerydslGenerator.java

Expand Down

0 comments on commit 65d4757

Please sign in to comment.