File tree Expand file tree Collapse file tree
src/ch1seL.DistributedLock.MemoryLock
tests/ch1seL.DistributedLock.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 types : [ published ]
99
1010env :
11- DOTNET_SDK_VERSION : 5 .0.x
11+ DOTNET_SDK_VERSION : 6 .0.x
1212 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
1313 DOTNET_CLI_TELEMETRY_OPTOUT : true
1414 GITHUB_FEED : https://nuget.pkg.github.com/ch1seL/
2929 uses : actions/setup-dotnet@v1
3030 with :
3131 dotnet-version : 3.1.x
32+
33+ - name : Setup dotnet SDK 5.0
34+ uses : actions/setup-dotnet@v1
35+ with :
36+ dotnet-version : 5.0.x
3237
3338 - name : Setup dotnet SDK ${{ env.DOTNET_SDK_VERSION }}
3439 uses : actions/setup-dotnet@v1
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Worker" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 .0</TargetFramework >
4+ <TargetFramework >net6 .0</TargetFramework >
55 <IsPackable >false</IsPackable >
66 </PropertyGroup >
77
88 <ItemGroup >
9- <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 5 .0.0" />
9+ <PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 6 .0.0" />
1010 </ItemGroup >
1111
1212 <ItemGroup >
Original file line number Diff line number Diff line change 66 </PropertyGroup >
77
88 <ItemGroup >
9- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 5 .0.0" />
9+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6 .0.0" />
1010 </ItemGroup >
1111
1212 <ItemGroup >
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ namespace ch1seL.DistributedLock.Tests.Base
1111{
1212 public abstract class IntervalsWithLockTestsBase : IDisposable
1313 {
14- private readonly object _intervalsLock = new ( ) ;
14+ private readonly object _intervalsLock = new object ( ) ;
1515 private readonly string _key = Guid . NewGuid ( ) . ToString ( "N" ) ;
1616 private readonly Stopwatch _stopwatch = Stopwatch . StartNew ( ) ;
17- private readonly object _taskListLock = new ( ) ;
17+ private readonly object _taskListLock = new object ( ) ;
1818
1919 protected readonly IList < Interval > Intervals = new List < Interval > ( ) ;
2020 protected readonly IList < Task > TaskList = new List < Task > ( ) ;
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netcoreapp3.1;net5</TargetFrameworks >
4+ <TargetFrameworks >netcoreapp3.1;net5;net6 </TargetFrameworks >
55 <IsPackable >false</IsPackable >
6- <LangVersion >latest</LangVersion >
76 </PropertyGroup >
87
98 <ItemGroup >
10- <PackageReference Include =" FluentAssertions" Version =" 6.1 .0" />
9+ <PackageReference Include =" FluentAssertions" Version =" 6.2 .0" />
1110 <PackageReference Include =" JetBrains.DotMemoryUnit" Version =" 3.1.20200127.214830" />
12- <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 5 .0.2 " />
13- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11 .0" />
11+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 6 .0.0 " />
12+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.0 .0" />
1413 <PackageReference Include =" xunit" Version =" 2.4.1" />
1514 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" >
1615 <PrivateAssets >all</PrivateAssets >
You can’t perform that action at this time.
0 commit comments