File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -11,26 +11,29 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ - uses : actions/checkout@v3
1515
1616 - name : Setup .NET
17- uses : actions/setup-dotnet@v4
17+ uses : actions/setup-dotnet@v2
1818 with :
1919 dotnet-version : 8.0.x
2020 cache : true
2121
22- - name : Restore
23- run : dotnet restore ./Phase06.sln
22+ - name : Install dependencies
23+ run : dotnet restore
24+ working-directory : ./
2425
2526 - name : Build
26- run : dotnet build ./Phase06.sln --configuration Release --no-restore
27+ run : dotnet build --configuration Release --no-restore
28+ working-directory : ./
2729
28- - name : Test (with coverage)
29- run : dotnet test ./Phase06.sln --configuration Release --no-restore --collect:"XPlat Code Coverage" --verbosity normal
30+ - name : Test
31+ run : dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
32+ working-directory : ./
3033
31- - name : Upload coverage to Codecov
32- uses : codecov/codecov-action@v4
34+ - name : Publish code coverage reports to codecove.io
35+ uses : codecov/codecov-action@v1
3336 with :
3437 token : ${{ secrets.CODECOV_TOKEN }}
35- files : **/TestResults/ */coverage.cobertura.xml
36- fail_ci_if_error : true
38+ files : ./* */coverage.cobertura.xml
39+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments