Skip to content

Commit cd4b3df

Browse files
committed
chore(deps): update to .net 9
1 parent c526a3a commit cd4b3df

File tree

4 files changed

+14
-25
lines changed

4 files changed

+14
-25
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
uses: actions/setup-dotnet@v2
2626
with:
2727
dotnet-version: |
28-
6.0.x
29-
7.0.x
28+
9.0.x
3029
3130
- run: dotnet --info
3231

@@ -38,5 +37,4 @@ jobs:
3837
env:
3938
SignClientSecret: ${{ secrets.SIGNCLIENTSECRET }}
4039
run: |
41-
./build.cmd sign
42-
dotnet nuget push .\artifacts\*.nupkg -s https://www.myget.org/F/identity/api/v2/package -k ${{ secrets.MYGET }}
40+
./build.cmd sign

src/IdentityModel.AspNetCore.OAuth2Introspection.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
44

55
<PackageId>IdentityModel.AspNetCore.OAuth2Introspection</PackageId>
66
<Description>ASP.NET Core authentication handler for validating tokens using OAuth 2.0 introspection</Description>
@@ -11,7 +11,7 @@
1111
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
</PropertyGroup>
14-
14+
1515
<PropertyGroup>
1616
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1717
<EmbedUntrackedSources>true</EmbedUntrackedSources>
@@ -29,7 +29,7 @@
2929
<ItemGroup>
3030
<PackageReference Include="IdentityModel" Version="6.0.0" />
3131

32-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
33-
<PackageReference Include="minver" Version="4.3.0" PrivateAssets="All" />
32+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
33+
<PackageReference Include="minver" Version="6.0.0" PrivateAssets="All" />
3434
</ItemGroup>
3535
</Project>

test/Tests/Introspection.cs

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ namespace Tests
2020
{
2121
public class Introspection
2222
{
23-
2423
private static readonly string clientId = "client";
2524
private static readonly string clientSecret = "secret";
2625

test/Tests/Tests.csproj

+8-16
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,23 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
2+
33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
4+
<TargetFramework>net9.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>
88
<ProjectReference Include="..\..\src\IdentityModel.AspNetCore.OAuth2Introspection.csproj" />
99
</ItemGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.0">
1414
<PrivateAssets>all</PrivateAssets>
1515
</PackageReference>
16-
<PackageReference Include="xunit" Version="2.4.1" />
16+
<PackageReference Include="xunit" Version="2.9.3" />
1717
<PackageReference Include="FluentAssertions" Version="5.10.3" />
18-
19-
20-
</ItemGroup>
21-
22-
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
23-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="6.0.0" />
24-
</ItemGroup>
18+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="9.0.4" />
2519

26-
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
27-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="7.0.0" />
2820
</ItemGroup>
29-
30-
21+
22+
3123
</Project>

0 commit comments

Comments
 (0)