File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 24
24
- name : Install
25
25
shell : bash
26
26
run : |
27
- export VCPKG_VERSION=2024.12.16
27
+ export VCPKG_VERSION=2025.01.13
28
28
brew install vcpkg
29
29
git clone \
30
30
--depth 1 \
Original file line number Diff line number Diff line change 38
38
run : |
39
39
make dependencies
40
40
41
- - name : Install sonar-scanner and build-wrapper
42
- uses : sonarsource/sonarcloud-github-c-cpp@v3
41
+ - name : Install Build Wrapper
42
+ uses : SonarSource/sonarqube-scan-action/install-build-wrapper@master
43
43
44
44
# yamllint disable rule:line-length
45
45
- name : Run build-wrapper
@@ -57,12 +57,13 @@ jobs:
57
57
gcovr -e "src/tests/*" --sonarqube > coverage.xml
58
58
59
59
# yamllint disable rule:line-length
60
- - name : Run sonar-scanner
60
+ - name : Analyze with SonarQube / SonarCloud
61
+ uses : SonarSource/sonarqube-scan-action@master
61
62
env :
62
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
63
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
64
- run : |
65
- sonar-scanner \
66
- --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" \
64
+ with :
65
+ # Consult https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner/ for more information and options
66
+ args : >
67
+ --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json"
67
68
--define sonar.coverageReportPaths=coverage.xml
68
69
# yamllint enable rule:line-length
You can’t perform that action at this time.
0 commit comments