This commit is contained in:
@@ -32,6 +32,16 @@ jobs:
|
|||||||
dotnet tool install --global dotnet-sonarscanner
|
dotnet tool install --global dotnet-sonarscanner
|
||||||
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
|
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Debug token sanity check
|
||||||
|
run: |
|
||||||
|
curl -s -w "\nHTTP %{http_code}\n" \
|
||||||
|
-u "${{ secrets.SONAR_TOKEN }}:" \
|
||||||
|
"${{ secrets.SONAR_HOST_URL }}/api/plugins/installed" | head -5
|
||||||
|
echo "---"
|
||||||
|
curl -s -w "\nHTTP %{http_code}\n" \
|
||||||
|
-u "${{ secrets.SONAR_TOKEN }}:" \
|
||||||
|
"${{ secrets.SONAR_HOST_URL }}/api/authentication/validate"
|
||||||
|
|
||||||
- name: SonarScanner Begin
|
- name: SonarScanner Begin
|
||||||
run: |
|
run: |
|
||||||
dotnet sonarscanner begin \
|
dotnet sonarscanner begin \
|
||||||
|
|||||||
Reference in New Issue
Block a user