File tree Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Expand file tree Collapse file tree 4 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 21
21
- name : Checkout
22
22
uses : actions/checkout@v4
23
23
- name : Setup .NET Core
24
- uses : actions/setup-dotnet@v3
24
+ uses : actions/setup-dotnet@v4
25
25
with :
26
26
dotnet-version : 8.0.x
27
27
- name : Restore
37
37
- name : Checkout
38
38
uses : actions/checkout@v4
39
39
- name : Setup .NET Core
40
- uses : actions/setup-dotnet@v3
40
+ uses : actions/setup-dotnet@v4
41
41
with :
42
42
dotnet-version : 8.0.x
43
43
- name : Set VERSION environment variable
Original file line number Diff line number Diff line change 74
74
75
75
<!-- build -->
76
76
<ItemGroup >
77
- <PackageReference Include =" Grpc.Net.Client" Version =" 2.52 .0" />
78
- <PackageReference Include =" Google.Api.CommonProtos" Version =" 2.12 .0" />
79
- <PackageReference Include =" Google.Protobuf" Version =" 3.23 .0" />
80
- <PackageReference Include =" Grpc.Tools" Version =" 2.48.1 " >
77
+ <PackageReference Include =" Grpc.Net.Client" Version =" 2.65 .0" />
78
+ <PackageReference Include =" Google.Api.CommonProtos" Version =" 2.15 .0" />
79
+ <PackageReference Include =" Google.Protobuf" Version =" 3.28 .0" />
80
+ <PackageReference Include =" Grpc.Tools" Version =" 2.65.0 " >
81
81
<PrivateAssets >all</PrivateAssets >
82
82
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
83
83
</PackageReference >
84
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.* " PrivateAssets =" All" />
85
- <PackageReference Include =" System.Text.Json" Version =" 6 .0.5 " />
84
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 8.0.0 " PrivateAssets =" All" />
85
+ <PackageReference Include =" System.Text.Json" Version =" 8 .0.4 " />
86
86
</ItemGroup >
87
87
<ItemGroup >
88
88
<Protobuf Include =" systemathics\apis\services\**\*.proto" GrpcServices =" Client" />
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework >net6 .0</TargetFramework >
3
+ <TargetFramework >net8 .0</TargetFramework >
4
4
</PropertyGroup >
5
5
<ItemGroup >
6
- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16 .11.0" />
7
- <PackageReference Include =" NUnit3TestAdapter" Version =" 4.2.1 " />
8
- <PackageReference Include =" NUnit" Version =" 3.13 .2" />
6
+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17 .11.0" />
7
+ <PackageReference Include =" NUnit3TestAdapter" Version =" 4.6.0 " />
8
+ <PackageReference Include =" NUnit" Version =" 4.2 .2" />
9
9
</ItemGroup >
10
10
<ItemGroup >
11
11
<ProjectReference Include =" ..\src\Systemathics.Apis.csproj" />
Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ namespace Systemathics.Apis.Tests
13
13
using Systemathics . Apis . Helpers ;
14
14
15
15
using NUnit . Framework ;
16
+ using NUnit . Framework . Constraints ;
16
17
17
18
#endregion
18
19
20
+
19
21
/// <summary>
20
22
/// The token helpers tests fixture.
21
23
/// </summary>
@@ -36,7 +38,7 @@ public void GetTokenTest()
36
38
37
39
string token = null ;
38
40
Assert . DoesNotThrow ( ( ) => token = TokenHelpers . GetToken ( ) ) ;
39
- StringAssert . StartsWith ( "Bearer" , token ) ;
41
+ Assert . That ( token , Does . StartWith ( "Bearer " ) ) ;
40
42
}
41
43
finally
42
44
{
You can’t perform that action at this time.
0 commit comments