1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-27 02:43:54 +02:00

Update sonarqube.yml

This commit is contained in:
Anton Titovets 2024-03-14 10:52:16 +03:00 committed by GitHub
parent 3155e440a7
commit 993f77fd6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,10 +15,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3
- name: Analyze with SonarQube - 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 uses: SonarSource/sonarqube-scan-action@7295e71c9583053f5bf40e9d4068a0c974603ec8
env: env:
GITHUB_TOKEN: ${{ secrets.TOKEN }} # Needed to get PR information GITHUB_TOKEN: ${{ secrets.TOKEN }} # Needed to get PR information
@ -27,14 +25,6 @@ jobs:
LC_ALL: "ru_RU.UTF-8" LC_ALL: "ru_RU.UTF-8"
with: with:
projectBaseDir: ${GITHUB_WORKSPACE} projectBaseDir: ${GITHUB_WORKSPACE}
args: inclusions: "**/*.os"
# Unique key of your project. You can find it in SonarQube > [my project] > Project Information (top-right menu) projectKey: "OInt"
# mandatory sourceEncoding: "UTF-8"
-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