diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml index 825d45f..0960146 100644 --- a/.github/workflows/test-unit.yml +++ b/.github/workflows/test-unit.yml @@ -39,25 +39,3 @@ jobs: with: name: code-coverage-report path: test/coverage.out - - sonar-cloud: - needs: test-unit - name: SonarCloud - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - - name: Download code coverage results - uses: actions/download-artifact@v4 - with: - name: code-coverage-report - - - name: Analyze with SonarCloud - uses: sonarsource/sonarqube-scan-action@master - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 269dfc6..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,30 +0,0 @@ -# ===================================================== -# Standard properties -# ===================================================== - -sonar.projectKey=0xPolygon_cdk-data-availability -sonar.projectName=cdk-data-availability -sonar.organization=0xpolygon - -sonar.sources=. -sonar.exclusions=**/*_test.go,**/vendor/**,**/mocks/**,/etherman/smartcontracts/**,/test/** - -sonar.tests=. -sonar.test.inclusions=**/*_test.go -sonar.test.exclusions=**/vendor/** -sonar.issue.enforceSemantic=true - -# ===================================================== -# Meta-data for the project -# ===================================================== - -sonar.links.homepage=https://github.com/0xPolygon/cdk-data-availability -sonar.links.ci=https://github.com/0xPolygon/cdk-data-availability/actions -sonar.links.scm=https://github.com/0xPolygon/cdk-data-availability -sonar.links.issue=https://github.com/0xPolygon/cdk-data-availability/issues - -# ===================================================== -# Properties specific to Go -# ===================================================== - -sonar.go.coverage.reportPaths=coverage.out