mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-21 01:50:24 +02:00
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
name: Сервис | Анализ SonarQube
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
Analysis:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Анализ OPI
|
|
uses: SonarSource/sonarqube-scan-action@7295e71c9583053f5bf40e9d4068a0c974603ec8
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
LC_ALL: "ru_RU.UTF-8"
|
|
with:
|
|
projectBaseDir: ${{ github.workspace }}/src/ru
|
|
args:
|
|
-Dsonar.projectKey=OpenIntegrations
|
|
-Dsonar.sourceEncoding=UTF-8
|
|
-Dsonar.inclusions=**/*.bsl
|
|
|
|
- name: Анализ OInt
|
|
uses: SonarSource/sonarqube-scan-action@7295e71c9583053f5bf40e9d4068a0c974603ec8
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
LC_ALL: "ru_RU.UTF-8"
|
|
with:
|
|
projectBaseDir: ${{ github.workspace }}/src/ru/OInt
|
|
args:
|
|
-Dsonar.projectKey=OInt
|
|
-Dsonar.sourceEncoding=UTF-8
|
|
-Dsonar.inclusions=**/*.os
|