diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index a16527d..7772762 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -144,6 +144,10 @@ jobs: with: name: boundingboxeditor-portable-linux path: build/jpackage/BoundingBoxEditor + - name: Sonarqube analysis + run: ./gradlew sonar '-Dsonar.host.url=https://sonarcloud.io' '-Dsonar.token=${{ secrets.SONAR_TOKEN }}' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}r Build-and-Test-macOS: runs-on: macos-latest diff --git a/build.gradle b/build.gradle index 6ad2886..f16efd7 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ plugins { id 'org.beryx.jlink' version '3.0.1' id 'jacoco' id 'net.ltgt.errorprone' version '4.1.0' - id 'org.sonarqube' version '5.1.0.4882' + id 'org.sonarqube' version '6.0.1.5171' id 'org.ysb33r.cloudci' version '4.0.1' id 'com.github.hierynomus.license' version '0.16.1' id 'io.miret.etienne.sass' version '1.5.1'