summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMassimo Paladin <massimo.paladin@gmail.com>2023-03-24 11:19:31 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-03-28 04:05:01 -0600
commit1d7bad53471a0d107a0cdad561669ced23914de0 (patch)
treece3545ec4310577bd0440f60640130f53466a47d /.github
parent4a70fa052ff8aa34ceee50608cae54c00fd7ef3c (diff)
downloadserenity-1d7bad53471a0d107a0cdad561669ced23914de0.zip
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/sonar-cloud-static-analysis.yml3
1 files changed, 1 insertions, 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