From 1d7bad53471a0d107a0cdad561669ced23914de0 Mon Sep 17 00:00:00 2001 From: Massimo Paladin Date: Fri, 24 Mar 2023 11:19:31 +0100 Subject: [PATCH] Meta: Remove SonarCloud cache and threads setup as it is now default No need to configure the cache and threads anymore, SonarCloud now has an automatic analysis caching and threads detection. See: https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-cache --- .github/workflows/sonar-cloud-static-analysis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sonar-cloud-static-analysis.yml b/.github/workflows/sonar-cloud-static-analysis.yml index 086c5fc67a..80b7e59bdf 100644 --- a/.github/workflows/sonar-cloud-static-analysis.yml +++ b/.github/workflows/sonar-cloud-static-analysis.yml @@ -23,6 +23,7 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v3 with: + distribution: 'temurin' java-version: 11 - name: Download and set up sonar-scanner @@ -42,8 +43,6 @@ jobs: echo "sonar.projectVersion=${{ github.sha }}" >> ${{ github.workspace }}/sonar-project.properties echo "sonar.organization=serenityos" >> ${{ github.workspace }}/sonar-project.properties echo "sonar.cfamily.compile-commands=${{ github.workspace }}/Build/${{ env.SONAR_ANALYSIS_ARCH }}/compile_commands.json" >> ${{ github.workspace }}/sonar-project.properties - echo "sonar.cfamily.threads=2" >> ${{ github.workspace }}/sonar-project.properties - echo "sonar.cfamily.cache.enabled=false" >> ${{ github.workspace }}/sonar-project.properties echo "sonar.exclusions=Userland/Libraries/LibWasm/Parser/Parser.cpp" >> ${{ github.workspace }}/sonar-project.properties echo "sonar.host.url=${{ env.SONAR_SERVER_URL }}" >> ${{ github.workspace }}/sonar-project.properties echo "sonar.sources=AK,Build,Userland,Kernel,Meta" >> ${{ github.workspace }}/sonar-project.properties