From 84d2ca4ccc14473419a246a8a5cfbfc01fab2553 Mon Sep 17 00:00:00 2001 From: cvonhessert Date: Fri, 10 Jul 2026 09:26:19 +0200 Subject: [PATCH] chore: remove SonarQube/SonarCloud integration Part of the org-wide Sonar deprecation (consolidating on CodeQL + GitHub Advanced Security). Removes the SonarCloud analysis step and orphaned SONAR_TOKEN env from the test-unit workflow, the sonar-project.properties config, and the SonarCloud quality-gate badge from the README. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/test-unit.yml | 10 ++-------- README.md | 3 --- sonar-project.properties | 30 ------------------------------ 3 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 sonar-project.properties diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 66cfc0107..e2b09897d 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -1,4 +1,4 @@ -name: Test Unit and SonarCloud analysis +name: Test Unit on: push: @@ -31,10 +31,4 @@ jobs: GOARCH: ${{ matrix.goarch }} - name: Test - run: make test-unit - - - name: Analyze with SonarCloud - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + run: make test-unit \ No newline at end of file diff --git a/README.md b/README.md index 9c9480bd0..81330d039 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,6 @@ The CDK allow to build Rollups that are ZK powered, verifying the execution using the zkEVM prover from Polygon, they can be completelly personalizable because its modullar architecture. - -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=0xPolygon_cdk&metric=alert_status&token=aa6d76993fc213c4153bf65e0d62e4d08207ea7e)](https://sonarcloud.io/summary/new_code?id=0xPolygon_cdk) - diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 3b6ddc8a4..000000000 --- a/sonar-project.properties +++ /dev/null @@ -1,30 +0,0 @@ -# ===================================================== -# Standard properties -# ===================================================== - -sonar.projectKey=0xPolygon_cdk -sonar.projectName=cdk -sonar.organization=0xpolygon - -sonar.sources=. -sonar.exclusions=**/test/**,**/vendor/**,**/mocks/**,**/build/**,**/target/**,**/proto/include/**,**/*.pb.go,**/docs/**,**/*.sql,**/mocks_*/*,scripts/**,**/mock_*.go,**/cmd/** - -sonar.tests=. -sonar.test.inclusions=**/*_test.go -sonar.test.exclusions=test/contracts/**,**/vendor/**,**/docs/**,**/mocks/**,**/*.pb.go,**/*.yml,**/*.yaml,**/*.json,**/*.xml,**/*.toml,**/mocks_*/*,**/mock_*.go,**/cmd/** -sonar.issue.enforceSemantic=true - -# ===================================================== -# Meta-data for the project -# ===================================================== - -sonar.links.homepage=https://github.com/0xPolygon/cdk -sonar.links.ci=https://github.com/0xPolygon/cdk/actions -sonar.links.scm=https://github.com/0xPolygon/cdk -sonar.links.issue=https://github.com/0xPolygon/cdk/issues - -# ===================================================== -# Properties specific to Go -# ===================================================== - -sonar.go.coverage.reportPaths=coverage.out