From f0c769a0ac59f72b03b10bb168a671bb329b64dd Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Wed, 5 Feb 2025 16:30:05 -0300 Subject: [PATCH 1/2] [CONFIG] [Github Actions] sonarcloud deprecation replacement. https://github.com/SonarSource/sonarqube-scan-action Warning This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action. --- .github/workflows/sonarcloud.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index d5dee6b..45da4de 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -38,8 +38,8 @@ jobs: run: | make dependencies - - name: Install sonar-scanner and build-wrapper - uses: sonarsource/sonarcloud-github-c-cpp@v3 + - name: Install Build Wrapper + uses: SonarSource/sonarqube-scan-action/install-build-wrapper@master # yamllint disable rule:line-length - name: Run build-wrapper @@ -57,12 +57,13 @@ jobs: gcovr -e "src/tests/*" --sonarqube > coverage.xml # yamllint disable rule:line-length - - name: Run sonar-scanner + - name: Analyze with SonarQube / SonarCloud + uses: SonarSource/sonarqube-scan-action@master env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: | - sonar-scanner \ - --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" \ + with: + # Consult https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner/ for more information and options + args: > + --define sonar.cfamily.compile-commands="${{ env.BUILD_WRAPPER_OUT_DIR }}/compile_commands.json" --define sonar.coverageReportPaths=coverage.xml # yamllint enable rule:line-length From af8f8e79a61454e28a9cc5ac96685b1b85b8f7d2 Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Wed, 5 Feb 2025 16:31:14 -0300 Subject: [PATCH 2/2] [CONFIG] [github actions] vcpkg installation issue fixed. --- .github/workflows/cpp-macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpp-macos.yml b/.github/workflows/cpp-macos.yml index 3cf7221..37b6e35 100644 --- a/.github/workflows/cpp-macos.yml +++ b/.github/workflows/cpp-macos.yml @@ -24,7 +24,7 @@ jobs: - name: Install shell: bash run: | - export VCPKG_VERSION=2024.12.16 + export VCPKG_VERSION=2025.01.13 brew install vcpkg git clone \ --depth 1 \ 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