From 072818d202ee0389200adae64c83d1772f9c2aac Mon Sep 17 00:00:00 2001 From: ychung-mot Date: Thu, 18 Apr 2024 09:24:27 -0700 Subject: [PATCH] chore: remove sonar properties file --- .github/workflows/sonarqube-scan.yml | 11 ++++++----- .../sonar-project.properties | 0 2 files changed, 6 insertions(+), 5 deletions(-) rename sonar-project.properties => frontend/sonar-project.properties (100%) diff --git a/.github/workflows/sonarqube-scan.yml b/.github/workflows/sonarqube-scan.yml index f202e959..52b76aef 100644 --- a/.github/workflows/sonarqube-scan.yml +++ b/.github/workflows/sonarqube-scan.yml @@ -17,8 +17,8 @@ on: - crunchydb/** jobs: - dotnet-scan: - name: dotnet build and scan + backend-scan: + name: backend build and scan runs-on: windows-latest steps: - name: Set up JDK 17 @@ -58,15 +58,16 @@ jobs: dotnet build ./server/server.sln .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - basic-scan: - name: basic scan + frontend-scan: + name: frontend scan runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + path: 'frontend' # Check out only the 'frontend' folder - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/sonar-project.properties b/frontend/sonar-project.properties similarity index 100% rename from sonar-project.properties rename to frontend/sonar-project.properties