Skip to content

Commit

Permalink
ci: fix missing scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Hertzole committed Jan 13, 2024
1 parent 09060c9 commit 9c7c9d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand All @@ -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

0 comments on commit 9c7c9d6

Please sign in to comment.