Skip to content

Commit e3b0b33

Browse files
authored
Use none RC .net 10 + pin version (#47)
1 parent 2f7d82a commit e3b0b33

File tree

10 files changed

+20
-14
lines changed

10 files changed

+20
-14
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
contents: read
1414

1515
env:
16-
NET_VERSION: 10.0.x
16+
NET_VERSION: 10.0.100
1717
NUGET_PATH: './**/IeuanWalker.MinimalApi.Endpoints.1.0.0.nupkg'
1818
MINIMUM_COVERAGE: 80
1919

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types: [published]
66

77
env:
8-
NET_VERSION: 10.0.x
8+
NET_VERSION: 10.0.100
99
PROJECT_GENERATOR: 'src/IeuanWalker.MinimalApi.Endpoints.Generator/IeuanWalker.MinimalApi.Endpoints.Generator.csproj'
1010
PROJECT_LIBRARY: 'src/IeuanWalker.MinimalApi.Endpoints/IeuanWalker.MinimalApi.Endpoints.csproj'
1111
NUGET_PATH: 'D:/a/MinimalApi.Endpoints/MinimalApi.Endpoints/src/IeuanWalker.MinimalApi.Endpoints/bin/Release/IeuanWalker.MinimalApi.Endpoints.${{ github.event.release.tag_name }}.nupkg'

example/ExampleApi/ExampleApi.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<PackageReference Include="Asp.Versioning.Http" Version="8.1.0" />
1111
<PackageReference Include="Asp.Versioning.Mvc" Version="8.1.0" />
1212
<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.1.0" />
13-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0-rc.1.25451.107" />
14-
<PackageReference Include="Scalar.AspNetCore" Version="2.8.11" />
13+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
14+
<PackageReference Include="Scalar.AspNetCore" Version="2.10.3" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

example/ExampleApi/Infrastructure/ScalarConfiguration.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ internal static IApplicationBuilder UseScalar(this WebApplication app)
5555
{
5656
options
5757
.WithTheme(ScalarTheme.Default)
58-
.WithLayout(ScalarLayout.Modern)
5958
.WithFavicon("https://scalar.com/logo-light.svg")
6059
.WithDefaultHttpClient(ScalarTarget.CSharp, ScalarClient.HttpClient);
6160
});

global.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sdk": {
3+
"version": "10.0.100",
4+
"rollForward": "latestFeature",
5+
"allowPrerelease": false
6+
}
7+
}

src/IeuanWalker.MinimalApi.Endpoints/IeuanWalker.MinimalApi.Endpoints.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
</ItemGroup>
3434

3535
<ItemGroup>
36-
<PackageReference Include="FluentValidation" Version="[12.0.0,)" />
37-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="[10.0.0-rc.1.25451.107,)" />
36+
<PackageReference Include="FluentValidation" Version="12.1.0" />
37+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.0" />
3838
</ItemGroup>
3939

4040
<ItemGroup>

tests/ExampleApi.IntegrationTests/ExampleApi.IntegrationTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>
20-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
20+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2121
<PackageReference Include="xunit" Version="2.9.3" />
2222
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>
2626
<PackageReference Include="Shouldly" Version="4.3.0" />
27-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0-rc.1.25451.107" />
27+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0" />
2828
</ItemGroup>
2929

3030
<ItemGroup>

tests/ExampleApi.Tests/ExampleApi.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>
19-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2020
<PackageReference Include="xunit" Version="2.9.3" />
2121
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2222
<PrivateAssets>all</PrivateAssets>

tests/IeuanWalker.MinimalApi.Endpoints.Generator.Tests/IeuanWalker.MinimalApi.Endpoints.Generator.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>
19-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2020
<PackageReference Include="xunit" Version="2.9.3" />
2121
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageReference>
2525
<PackageReference Include="Shouldly" Version="4.3.0" />
26-
<PackageReference Include="FluentValidation" Version="12.0.0" />
26+
<PackageReference Include="FluentValidation" Version="12.1.0" />
2727
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.14.0" />
28-
<PackageReference Include="Verify.Xunit" Version="30.20.1" />
28+
<PackageReference Include="Verify.Xunit" Version="31.6.0" />
2929
<PackageReference Include="Verify.SourceGenerators" Version="2.5.0" />
3030
</ItemGroup>
3131

tests/IeuanWalker.MinimalApi.Endpoints.Tests/IeuanWalker.MinimalApi.Endpoints.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>
19-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
19+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2020
<PackageReference Include="xunit" Version="2.9.3" />
2121
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2222
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)