1
0
mirror of https://github.com/BlizD/Tasks.git synced 2025-03-19 21:07:53 +02:00

Merge pull request #322 from nixel2007/patch-4

Обновлены настройки таски сонара
This commit is contained in:
Anton Ivanov 2024-02-18 15:59:55 +03:00 committed by GitHub
commit 68ddac3659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,15 +19,16 @@ jobs:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: ''
- run: |
git fetch --prune --unshallow
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Setup SonarQube scanner
uses: warchant/setup-sonar-scanner@v1
- name: Run SonarQube on push
@ -36,7 +37,6 @@ jobs:
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
-Dsonar.host.url=https://sonar.openbsl.ru
-Dsonar.branch.name=${GITHUB_REF#refs/heads/}
-Dsonar.bsl.languageserver.enabled=true
- name: Run SonarQube on pull request
if: github.event_name == 'pull_request'
run: sonar-scanner
@ -46,4 +46,3 @@ jobs:
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
-Dsonar.bsl.languageserver.enabled=true