File tree Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Expand file tree Collapse file tree 3 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 88 - package-ecosystem : " nuget" # See documentation for possible values
99 directory : " /" # Location of package manifests
1010 schedule :
11- interval : " weekly "
11+ interval : " monthly "
Original file line number Diff line number Diff line change 2626 with :
2727 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
2828 - name : Setup .NET
29- uses : actions/setup-dotnet@v3
29+ uses : actions/setup-dotnet@v4
3030 with :
3131 dotnet-version : ${{ matrix.dotnet }}
3232 - name : Cache SonarQube Cloud packages
6464 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
6565 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
6666 run : .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
67+
68+ test :
69+
70+ strategy :
71+ matrix :
72+ dotnet : [ '8.0.x' ]
73+ os : [macos-latest, ubuntu-latest, windows-latest]
74+
75+ runs-on : ${{ matrix.os }}
76+
77+ name : .NET ${{ matrix.dotnet }} on ${{ matrix.os }}
78+
79+ steps :
80+ - uses : actions/checkout@v4
81+ with :
82+ fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
83+ - name : Setup .NET
84+ uses : actions/setup-dotnet@v4
85+ with :
86+ dotnet-version : ${{ matrix.dotnet }}
87+ - name : Restore dependencies
88+ run : dotnet restore
89+ - name : Build
90+ run : dotnet build --no-restore
91+ - name : Test
92+ run : dotnet test --no-build --verbosity normal --collect "XPlat Code Coverage;Format=opencover"
Original file line number Diff line number Diff line change 2424 - uses : actions/checkout@v4
2525
2626 - name : Setup .NET 8
27- uses : actions/setup-dotnet@v3
27+ uses : actions/setup-dotnet@v4
2828 with :
2929 dotnet-version : 8.0.x
3030 source-url : https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
You can’t perform that action at this time.
0 commit comments