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 8
8
- package-ecosystem : " nuget" # See documentation for possible values
9
9
directory : " /" # Location of package manifests
10
10
schedule :
11
- interval : " weekly "
11
+ interval : " monthly "
Original file line number Diff line number Diff line change 26
26
with :
27
27
fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
28
28
- name : Setup .NET
29
- uses : actions/setup-dotnet@v3
29
+ uses : actions/setup-dotnet@v4
30
30
with :
31
31
dotnet-version : ${{ matrix.dotnet }}
32
32
- name : Cache SonarQube Cloud packages
64
64
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
65
65
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
66
66
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 24
24
- uses : actions/checkout@v4
25
25
26
26
- name : Setup .NET 8
27
- uses : actions/setup-dotnet@v3
27
+ uses : actions/setup-dotnet@v4
28
28
with :
29
29
dotnet-version : 8.0.x
30
30
source-url : https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
You can’t perform that action at this time.
0 commit comments