diff options
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b35fa5b..9c923182 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -40,10 +40,8 @@ jobs: | |||
40 | **/node_modules | 40 | **/node_modules |
41 | key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | 41 | key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} |
42 | restore-keys: ${{ runner.os }}-npm | 42 | restore-keys: ${{ runner.os }}-npm |
43 | - name: Gradle build | 43 | - name: Gradle build and Sonar analyze |
44 | run: ./gradlew build --info | ||
45 | - name: Sonar analyze | ||
46 | env: | 44 | env: |
47 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | 45 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any |
48 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | 46 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
49 | run: ./gradlew sonarqube --info | 47 | run: ./gradlew build sonarqube --info |