File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed
test/Serilog.Enrichers.ClientInfo.Tests Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a .NET project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+ name : .NET
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Setup .NET
20+ uses : actions/setup-dotnet@v3
21+ with :
22+ dotnet-version : 6.0.x
23+ - name : Restore dependencies
24+ run : dotnet restore
25+ - name : Build
26+ run : dotnet build --no-restore
27+ - name : Test
28+ run : dotnet test --no-build --verbosity normal
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 .0</TargetFramework >
4+ <TargetFramework >net6 .0</TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
88
99 <ItemGroup >
10- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11 .0" />
11- <PackageReference Include =" nsubstitute" Version =" 4.2.2 " />
10+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.5 .0" />
11+ <PackageReference Include =" nsubstitute" Version =" 5.0.0 " />
1212 <PackageReference Include =" xunit" Version =" 2.4.1" />
1313 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" >
1414 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1515 <PrivateAssets >all</PrivateAssets >
1616 </PackageReference >
17- <PackageReference Include =" coverlet.collector" Version =" 3.1 .0" >
17+ <PackageReference Include =" coverlet.collector" Version =" 3.2 .0" >
1818 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1919 <PrivateAssets >all</PrivateAssets >
2020 </PackageReference >
You can’t perform that action at this time.
0 commit comments