From e91e2a9286e8a8d020a00e2ad7b626d3b34f960c Mon Sep 17 00:00:00 2001 From: Uladzislau Date: Sat, 28 Sep 2024 01:05:40 +0200 Subject: [PATCH] Fix for sonar scans Signed-off-by: Uladzislau --- .github/workflows/build.yml | 8 ++++---- build.gradle.kts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48537f9f..891fd9f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT # prepare list of IDEs to use by plugin verifier: - ./gradlew listProductsReleases + ./gradlew --quiet printProductsReleases > build/productReleases.txt - name: Build plugin shell: bash @@ -149,7 +149,7 @@ jobs: path: ${{ github.workspace }}/build/reports/kover/html - name: SonarCloud scans - if: ${{ matrix.product == 'IC-233' }} + if: ${{ matrix.product == 'IC-243' }} continue-on-error: true uses: ./.github/actions/sonar env: @@ -203,12 +203,12 @@ jobs: uses: actions/cache@v4 with: path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides - key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }} + key: plugin-verifier-${{ hashFiles('build/productReleases.txt') }} - name: Verify plugin against IntelliJ IDEA IDE's continue-on-error: true shell: bash - run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }} + run: ./gradlew verifyPlugin -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }} env: PRODUCT_NAME: ${{ matrix.product }} diff --git a/build.gradle.kts b/build.gradle.kts index d6401343..a2587287 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -73,7 +73,7 @@ val zoweKotlinSdkVersion = "0.5.0" val javaKeytarVersion = "1.0.0" plugins { - id("org.sonarqube") version "5.0.0.4638" + id("org.sonarqube") version "5.1.0.4882" id("org.jetbrains.intellij.platform") version "2.1.0" id("org.jetbrains.changelog") version "2.2.1" kotlin("jvm") version "1.9.22"