diff --git a/.github/workflows/sonarscan.yml b/.github/workflows/sonarscan.yml index 37adeb586..beb61e48d 100644 --- a/.github/workflows/sonarscan.yml +++ b/.github/workflows/sonarscan.yml @@ -1,4 +1,4 @@ -name: SonarScan +name: SonarCloud on: pull_request_target: @@ -11,7 +11,7 @@ jobs: name: Build and analyze runs-on: ubuntu-latest steps: - - uses: actions/checkout@4 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 17 diff --git a/client/wfprev/.github/test.yml b/client/wfprev/.github/test.yml index 3e232959c..61edfb16a 100644 --- a/client/wfprev/.github/test.yml +++ b/client/wfprev/.github/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: node-version: [20.x] - + steps: - uses: actions/checkout@v4 diff --git a/sonar-project.properties b/sonar-project.properties index 9f28fbc4a..2e30070ba 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,6 @@ sonar.organization=bcgov-sonarcloud sonar.projectKey=nr-bcws-wfprev +sonar.host.url=https://sonarcloud.io # relative paths to source directories. More details and properties are described # in https://sonarcloud.io/documentation/project-administration/narrowing-the-focus/