From a2132add24095bd17198e0b56d288e9dbc13777f Mon Sep 17 00:00:00 2001 From: Max Friedmann <2809483+maxfriedmann@users.noreply.github.com> Date: Wed, 5 Mar 2025 07:07:34 +0100 Subject: [PATCH] Remove SonarCloud dependencies and GitHub actions Remove SonarCloud integration from the continuous testing workflow. * **Continuous Testing Workflow** - Remove the `SonarCloud Scan` step. - Remove the `SONAR_TOKEN` environment variable. * **Delete sonar-project.properties file** --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/smallstack/utils?shareId=XXXX-XXXX-XXXX-XXXX). --- .github/workflows/continuous-testing.yml | 6 ------ sonar-project.properties | 15 --------------- 2 files changed, 21 deletions(-) delete mode 100644 sonar-project.properties diff --git a/.github/workflows/continuous-testing.yml b/.github/workflows/continuous-testing.yml index ca839c6..7f3b01b 100644 --- a/.github/workflows/continuous-testing.yml +++ b/.github/workflows/continuous-testing.yml @@ -2,7 +2,6 @@ name: Continuous Testing env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} on: push: @@ -34,8 +33,3 @@ jobs: uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - - name: SonarCloud Scan - uses: SonarSource/sonarqube-scan-action@v4.1.0 - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 3ed62b6..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,15 +0,0 @@ -sonar.projectKey=smallstack_utils -sonar.organization=smallstack - -# This is the name and version displayed in the SonarCloud UI. -sonar.projectName=utils -#sonar.projectVersion=1.0 - - -# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. -sonar.sources=lib - -# Encoding of the source code. Default is default system encoding -#sonar.sourceEncoding=UTF-8 - -sonar.javascript.lcov.reportPaths=./coverage/lcov.info \ No newline at end of file