Skip to content

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #447

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows #447

Workflow file for this run

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