Skip to content

Commit 164f802

Browse files
committed
Security fix for referenced package
1 parent b235658 commit 164f802

3 files changed

Lines changed: 17 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ jobs:
4242
with:
4343
name: build-output
4444
- name: Test
45-
run: dotnet test G3.AspNetCore.Core.Tests/bin/Release/net10.0/G3.AspNetCore.Core.Tests.dll --verbosity normal
45+
run: |
46+
dotnet test G3.AspNetCore.Core.Tests/bin/Release/net8.0/G3.AspNetCore.Core.Tests.dll --verbosity normal
47+
dotnet test G3.AspNetCore.Core.Tests/bin/Release/net9.0/G3.AspNetCore.Core.Tests.dll --verbosity normal
48+
dotnet test G3.AspNetCore.Core.Tests/bin/Release/net10.0/G3.AspNetCore.Core.Tests.dll --verbosity normal
4649
4750
nuget:
4851
needs: test

G3.AspNetCore.Core.Tests/G3.AspNetCore.Core.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1212
</ItemGroup>
1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
14+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.4.0" />
1515
<PackageReference Include="xunit" Version="2.9.3" />
1616
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
<PrivateAssets>all</PrivateAssets>
1919
</PackageReference>
20-
<PackageReference Include="coverlet.collector" Version="6.0.4">
20+
<PackageReference Include="coverlet.collector" Version="10.0.0">
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
<PrivateAssets>all</PrivateAssets>
2323
</PackageReference>

G3.AspNetCore.Core/G3.AspNetCore.Core.csproj

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<GenerateDocumentationFile>True</GenerateDocumentationFile>
77
<NoWarn>$(NoWarn);1591</NoWarn>
88
<PackageId>G3Software.Net.AspNetCore.Core</PackageId>
9-
<Version>1.0.0</Version>
9+
<Version>1.0.1</Version>
1010
<Authors>G3Software</Authors>
1111
<Company>G3Software</Company>
1212
<Title>Core ASP.NET Core helpers</Title>
@@ -27,15 +27,17 @@
2727
<FrameworkReference Include="Microsoft.AspNetCore.App" />
2828
</ItemGroup>
2929
<ItemGroup>
30-
<PackageReference Include="Asp.Versioning.Mvc" Version="8.1.1" />
31-
<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.1.1" />
30+
<PackageReference Include="Asp.Versioning.Mvc" Version="8.1.1" Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net9.0'" />
31+
<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.1.1" Condition="'$(TargetFramework)' == 'net8.0' or '$(TargetFramework)' == 'net9.0'" />
32+
<PackageReference Include="Asp.Versioning.Mvc" Version="10.0.0" Condition="'$(TargetFramework)' == 'net10.0'" />
33+
<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="10.0.0" Condition="'$(TargetFramework)' == 'net10.0'" />
3234
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.1" />
33-
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.15.2" />
34-
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.1" />
35-
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.15.0" />
36-
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.15.0" />
37-
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.15.2" />
38-
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.2" />
35+
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.15.3" />
36+
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.2" />
37+
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.15.1" />
38+
<PackageReference Include="OpenTelemetry.Instrumentation.Runtime" Version="1.15.1" />
39+
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.15.3" />
40+
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.15.3" />
3941
</ItemGroup>
4042
<ItemGroup>
4143
<None Include="..\LICENSE">

0 commit comments

Comments
 (0)