From 43c85779f7ca1c738b638905ba0afacc90139d41 Mon Sep 17 00:00:00 2001 From: nlrangaiah1 <93092230+nlrangaiah1@users.noreply.github.com> Date: Wed, 19 Apr 2023 15:14:14 +0530 Subject: [PATCH 1/2] Update push.yml pip install codecov removed due to depreciation. --- .github/workflows/push.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index b18f644..dfd1228 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -32,7 +32,6 @@ jobs: run: | sudo apt update sudo apt-get -y install valgrind libcunit1 libcunit1-doc libcunit1-dev libcurl4-openssl-dev libtool gcovr - pip install codecov - name: Make Build Directory run: mkdir build From 9410b033ebbfe08e92f0d8e524db07fe80cd5bf9 Mon Sep 17 00:00:00 2001 From: nlrangaiah1 <93092230+nlrangaiah1@users.noreply.github.com> Date: Wed, 19 Apr 2023 16:20:56 +0530 Subject: [PATCH 2/2] Update push.yml Added projectKey & organization for sonar --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index dfd1228..81639c4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -58,7 +58,7 @@ jobs: - name: Upload SonarCloud run: | - build/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io -Dproject.settings=.sonar-project.properties -Dsonar.login=${{ secrets.SONAR_TOKEN }} + build/sonar-scanner/bin/sonar-scanner -Dsonar.host.url=https://sonarcloud.io -Dproject.settings=.sonar-project.properties -Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }} -Dsonar.organization=${{ github.repository_owner }} -Dsonar.login=${{ secrets.SONAR_TOKEN }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}