From 52a581a03b4d2f4fb8f64118f8c9324872543ccf Mon Sep 17 00:00:00 2001 From: Mateus Moreira Date: Thu, 7 Dec 2023 14:52:21 -0300 Subject: [PATCH] chore: add Sonar Scan --- .github/workflows/tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fafc36c..b2ade85 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,3 +50,8 @@ jobs: DB_HOST: localhost - name: Generate Sonar-metrics run: coverage report + - name: Sonar Scan + uses: SonarSource/sonarcloud-github-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}