File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ push :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Git checkout
11+ uses : actions/checkout@v3
12+
13+ - name : Setup .NET Core SDK
14+ uses : actions/setup-dotnet@v2
15+ with :
16+ dotnet-version : ' 3.1.x'
17+
18+ - name : .NET build
19+ run : |
20+ dotnet restore
21+ dotnet build -c Release
22+ dotnet pack -c Release
23+
24+ - name : .NET test
25+ run : |
26+ dotnet test
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >netcoreapp2.0 </TargetFramework >
3+ <TargetFramework >netcoreapp3.1 </TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66 <ItemGroup >
7- <PackageReference Include =" FINT.Model.Administrasjon" Version =" 2.7 .0" />
7+ <PackageReference Include =" FINT.Model.Administrasjon" Version =" 3.10 .0" />
88 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 15.3.0-preview-20170628-02" />
99 <PackageReference Include =" xunit" Version =" 2.2.0" />
1010 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.2.0" />
11- <PackageReference Include =" Newtonsoft.Json" Version =" 11 .0.2 " />
11+ <PackageReference Include =" Newtonsoft.Json" Version =" 13 .0.1 " />
1212 </ItemGroup >
1313 <ItemGroup >
1414 <ProjectReference Include =" ..\FINT.Model.Resource\FINT.Model.Resource.csproj" >
Original file line number Diff line number Diff line change 1212 <PackageTags >fint</PackageTags >
1313 </PropertyGroup >
1414 <ItemGroup >
15- <PackageReference Include =" Newtonsoft.Json" Version =" 11 .0.2 " />
15+ <PackageReference Include =" Newtonsoft.Json" Version =" 13 .0.1 " />
1616 </ItemGroup >
1717</Project >
You can’t perform that action at this time.
0 commit comments