From 993f77fd6a327d2f27c53cc948e08a56d0139956 Mon Sep 17 00:00:00 2001 From: Anton Titovets <105596284+Bayselonarrend@users.noreply.github.com> Date: Thu, 14 Mar 2024 10:52:16 +0300 Subject: [PATCH] Update sonarqube.yml --- .github/workflows/sonarqube.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index b712e38c3..87ddc04f8 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -15,10 +15,8 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 - name: Analyze with SonarQube - - # You can pin the exact commit or the version. - # uses: SonarSource/sonarqube-scan-action@v1.1.0 uses: SonarSource/sonarqube-scan-action@7295e71c9583053f5bf40e9d4068a0c974603ec8 env: GITHUB_TOKEN: ${{ secrets.TOKEN }} # Needed to get PR information @@ -27,14 +25,6 @@ jobs: LC_ALL: "ru_RU.UTF-8" with: projectBaseDir: ${GITHUB_WORKSPACE} - args: - # Unique key of your project. You can find it in SonarQube > [my project] > Project Information (top-right menu) - # mandatory - -Dsonar.projectBaseDir=${GITHUB_WORKSPACE} - -Dsonar.projectKey=OInt - -Dsonar.sourceEncoding=UTF-8 - -Dsonar.inclusions=**/*.os - # Comma-separated paths to directories containing test source files. - #-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/ - # Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing. - #-Dsonar.verbose= # optional, default is false + inclusions: "**/*.os" + projectKey: "OInt" + sourceEncoding: "UTF-8"