diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 4910a3e40..9dbca2763 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -68,4 +68,7 @@ jobs: --define sonar.sources="compiler/extensions/cpp/runtime/src,build/test/cpp/linux64-gcc/release" \ --define sonar.tests="test" \ --define sonar.inclusions="**/*.h,**/*.cpp" \ - --define sonar.scm.exclusions.disabled="true" + --define sonar.exclusions="**/CMakeFiles/**/*" \ + --define sonar.scm.exclusions.disabled="true" \ + --define sonar.cfamily.analysisCache.mode="fs" \ + --define sonar.cfamily.analysisCache.path="sonar-cache"