Token in GET parameters in case Headers authentication is down #451
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SonarCloud | |
on: | |
push: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
sonarcloud: | |
name: Analysis | |
runs-on: windows-2022 | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'Archomeda/Gw2Sharp' | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '>=11' | |
- uses: Archomeda/sonarcloud-dotnet-action@v1 | |
with: | |
sonarToken: ${{ secrets.SONAR_TOKEN }} | |
sonarOrganization: archomeda-github | |
sonarProject: Archomeda_Gw2Sharp | |
sonarAdditionalArgs: /d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml | |
- name: Run dotnet test | |
run: dotnet test --collect:"XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover |