-
-
Notifications
You must be signed in to change notification settings - Fork 28
42 lines (36 loc) · 1.22 KB
/
sonarqube.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: SonarQube analysis
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 }}/OPI
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 }}/OInt
args:
-Dsonar.projectKey=OInt
-Dsonar.sourceEncoding=UTF-8
-Dsonar.inclusions=**/*.os