From d4832b2ca412f915e20dd98396be206f0c01156d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Goetz?= Date: Wed, 22 Apr 2020 23:23:39 +0200 Subject: [PATCH] Add SonarCloud scanner --- .github/workflows/php.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 9eb2831..99dfe7c 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -64,6 +64,12 @@ jobs: - name: fix code coverage paths run: sed -i 's/\/home\/runner\/work\/daux.io\/daux.io\//\/github\/workspace\//g' coverage.clover + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@v1.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + documentation: runs-on: ubuntu-latest if: github.repository == 'dauxio/daux.io' && github.event_name != 'pull_request' && github.ref == 'refs/heads/master'