From 9c7c9d68c9aea7599104eea5869a26c493179c95 Mon Sep 17 00:00:00 2001 From: Hertzole Date: Sat, 13 Jan 2024 07:31:13 +0100 Subject: [PATCH] ci: fix missing scanner --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 67c5999..408430d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -110,7 +110,7 @@ jobs: java-version: '21' - name: Install scanner - run: dotnet tool install --global dotnet-sonarscanner --version 6.0.0 + run: dotnet tool install dotnet-sonarscanner --tool-path . --version 6.0.0 - name: Generate Solution run: unity-editor -nographics -logFile /dev/stdout -customBuildName scriptable-values -projectPath . -executeMethod GitTools.Solution.Sync -quit @@ -141,7 +141,7 @@ jobs: FrameworkPathOverride: /opt/unity/Editor/Data/MonoBleedingEdge/ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: | - dotnet-sonarscanner begin \ + ./dotnet-sonarscanner begin \ /o:"hertzole" \ /k:"scriptable-values" \ /d:sonar.host.url=https://sonarcloud.io \ @@ -150,4 +150,4 @@ jobs: /d:sonar.cs.nunit.reportsPaths=Tests/editmode.xml,Tests/playmode.xml \ /d:sonar.cs.opencover.reportsPaths=Coverage/workspace-opencov/PlayMode/TestCoverageResults_0000.xml,Coverage/workspace-opencov/EditMode/TestCoverageResults_0000.xml dotnet build scriptable-values.sln - dotnet-sonarscanner end /d:sonar.token=$SONAR_TOKEN + ./dotnet-sonarscanner end /d:sonar.token=$SONAR_TOKEN