Skip to content

Commit 34c42ac

Browse files
authored
Merge pull request #77 from sir-gon/develop
Develop
2 parents a3541ca + af8f8e7 commit 34c42ac

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/cpp-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install
2525
shell: bash
2626
run: |
27-
export VCPKG_VERSION=2024.12.16
27+
export VCPKG_VERSION=2025.01.13
2828
brew install vcpkg
2929
git clone \
3030
--depth 1 \

.github/workflows/sonarcloud.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
run: |
3939
make dependencies
4040
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
4343

4444
# yamllint disable rule:line-length
4545
- name: Run build-wrapper
@@ -57,12 +57,13 @@ jobs:
5757
gcovr -e "src/tests/*" --sonarqube > coverage.xml
5858
5959
# yamllint disable rule:line-length
60-
- name: Run sonar-scanner
60+
- name: Analyze with SonarQube / SonarCloud
61+
uses: SonarSource/sonarqube-scan-action@master
6162
env:
62-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
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"
6768
--define sonar.coverageReportPaths=coverage.xml
6869
# yamllint enable rule:line-length

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy