From 23b9651e8264c2fb9aa07363bf3753278053e516 Mon Sep 17 00:00:00 2001 From: Ammar Date: Mon, 10 Jun 2024 14:25:25 +0200 Subject: [PATCH] Test --- .../{sonar_cloud.yml => sonar-cloud.yml} | 16 +++++++++------- sonar-project.properties | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) rename .github/workflows/{sonar_cloud.yml => sonar-cloud.yml} (69%) diff --git a/.github/workflows/sonar_cloud.yml b/.github/workflows/sonar-cloud.yml similarity index 69% rename from .github/workflows/sonar_cloud.yml rename to .github/workflows/sonar-cloud.yml index 1869915942b..eb2e980bf83 100644 --- a/.github/workflows/sonar_cloud.yml +++ b/.github/workflows/sonar-cloud.yml @@ -1,12 +1,11 @@ name: SonarCloud on: - workflow_dispatch: - push: - branches: [ main ] - tags: [ v* ] - pull_request: - + workflow_dispatch: + push: + branches: [main] + tags: [v*] + pull_request: jobs: sonar_cloud: @@ -17,7 +16,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - + + - name: Download artifacts + uses: actions/download-artifact@v4 + - name: SonarCloud if: always() uses: SonarSource/sonarcloud-github-action@v2.2.0 diff --git a/sonar-project.properties b/sonar-project.properties index 84207aac19b..d53f913b0bc 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -27,4 +27,4 @@ sonar.python.version=3.10 # Additional reports # sonar.php.phpstan.reportPaths=reports/phpstan.json -# sonar.eslint.reportPaths=reports/eslint.json \ No newline at end of file +# sonar.eslint.reportPaths=reports/eslint.json