action: sonar check

This commit is contained in:
xiaoyifang 2022-12-05 13:39:30 +08:00
parent d48e9dd0f8
commit 03d92168c9

View file

@ -43,6 +43,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
submodules: true
- name: Install sonar-scanner and build-wrapper - name: Install sonar-scanner and build-wrapper
uses: SonarSource/sonarcloud-github-c-cpp@v1 uses: SonarSource/sonarcloud-github-c-cpp@v1
- name: Run build-wrapper - name: Run build-wrapper