From a146363fcdc573c649dc077a9f983e6f3db1e76e Mon Sep 17 00:00:00 2001 From: jscampucci Date: Wed, 25 Jun 2025 16:33:12 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e068f23..589ffad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,19 +8,8 @@ on: jobs: build: - name: Build - runs-on: ubuntu-latest + name: Upload coverage reports to Codecov steps: - - uses: actions/checkout@v2 + - uses: codecov/codecov-action@v5 with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - uses: sonarsource/sonarqube-scan-action@master - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - # If you wish to fail your job when the Quality Gate is red, uncomment the - # following lines. This would typically be used to fail a deployment. - # - uses: sonarsource/sonarqube-quality-gate-action@master - # timeout-minutes: 5 - # env: - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + token: ${{ secrets.CODECOV_TOKEN }}