From e120cc66fadbf00b6d4feb406ec249d197b46673 Mon Sep 17 00:00:00 2001 From: Michele Esposito Date: Mon, 9 Feb 2026 13:49:47 +0100 Subject: [PATCH] ci: remove sonarcloud job --- .github/workflows/main.yml | 13 ---------- .github/workflows/sonarcloud.yml | 43 -------------------------------- 2 files changed, 56 deletions(-) delete mode 100644 .github/workflows/sonarcloud.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9cf3eb8..cbdca83c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,19 +28,6 @@ jobs: TRON_HTTP_BASE_URL_NILE: ${{ secrets.TRON_HTTP_BASE_URL_NILE }} TRON_HTTP_BASE_URL_SHASTA: ${{ secrets.TRON_HTTP_BASE_URL_SHASTA }} - sonarcloud: - permissions: - id-token: write - contents: write - checks: write - pull-requests: write - actions: read - name: SonarCloud - needs: build-lint-test - uses: ./.github/workflows/sonarcloud.yml - secrets: - sonar_token: ${{ secrets.SONAR_TOKEN }} - all-jobs-completed: name: All jobs completed runs-on: ubuntu-latest diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml deleted file mode 100644 index 91474b0f..00000000 --- a/.github/workflows/sonarcloud.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Validate application code - -permissions: - id-token: write - contents: write - checks: write - pull-requests: write - actions: read - -on: - push: - branches: - - main - workflow_call: - secrets: - sonar_token: - description: SonarCloud token - required: true - -jobs: - sonarcloud-scan: - runs-on: ubuntu-latest - steps: - - name: Checkout and setup environment - uses: MetaMask/action-checkout-and-setup@v1 - with: - is-high-risk-environment: false - fetch-depth: 0 - - uses: actions/download-artifact@v4 - with: - path: coverage - pattern: tests-artifacts-* - merge-multiple: true - - name: Display structure of downloaded files - run: | - if [ -d coverage ]; then - ls -R coverage - fi - - name: SonarCloud Scan - uses: sonarsource/sonarcloud-github-action@383f7e52eae3ab0510c3cb0e7d9d150bbaeab838 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.sonar_token }}