Skip to content

Commit 74eed41

Browse files
committed
npm
1 parent 275c9d9 commit 74eed41

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pluginTest.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,18 @@ jobs:
4141
repository: '1c-syntax/ssl_3_1'
4242
path: 'target-project'
4343

44+
- name: Install Sonar scanner
45+
run: npm install -g sonar-scanner
46+
4447
- name: SonarQube Scan
4548
run: |
46-
docker run --rm --network="host" \
47-
-v "$(pwd)/target-project:/usr/src" \
48-
--entrypoint /bin/bash \
49-
sonarsource/sonar-scanner-cli:12 \
50-
-c "rm -rf /opt/sonar-scanner/jre && sonar-scanner \
49+
sonar-scanner \
5150
-Dsonar.projectKey=test-project \
5251
-Dsonar.sources=. \
5352
-Dsonar.host.url=http://localhost:9000 \
5453
-Dsonar.token=${{ env.SONAR_TOKEN }} \
5554
-Dsonar.lang.patterns.bsl=**/*.bsl,**/*.os \
56-
-Dsonar.scm.disabled=true"
55+
-Dsonar.scm.disabled=true
5756
5857
- name: Server Logs on Failure
5958
if: failure()

0 commit comments

Comments
 (0)