Skip to content

Commit 75b0056

Browse files
romankrRoman Krasilnikov
andauthored
Bump .NET version (#123)
Co-authored-by: Roman Krasilnikov <krasilnikov@skbkontur.ru>
1 parent 00a7bf9 commit 75b0056

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/master-build-and-deploy-to-azure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
env:
1313
AZURE_FUNCTIONAPP_PACKAGE_PATH: 'OddsCollector.Functions' # set this to the path to your web app project, defaults to the repository root
14-
DOTNET_VERSION: '9.0.x' # set this to the dotnet version to use
14+
DOTNET_VERSION: '10.0.x' # set this to the dotnet version to use
1515

1616
jobs:
1717
build-and-deploy:

.github/workflows/master-build-and-verify-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET
1818
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 9.0.x
20+
dotnet-version: 10.0.x
2121
- name: Restore dependencies
2222
run: dotnet restore
2323
- name: Check code formatting

OddsCollector.Functions.Tests/OddsCollector.Functions.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -15,7 +15,7 @@
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
1717
<PackageReference Include="FluentAssertions" Version="7.2.0" />
18-
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="9.10.0" />
18+
<PackageReference Include="Microsoft.Extensions.Diagnostics.Testing" Version="10.8.0" />
1919
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
2020
<PackageReference Include="NSubstitute" Version="5.3.0" />
2121
<PackageReference Include="NUnit" Version="4.4.0" />

OddsCollector.Functions/OddsCollector.Functions.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net10.0</TargetFramework>
44
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
55
<OutputType>Exe</OutputType>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.2.0"/>
10+
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="2.52.0"/>
1111
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.CosmosDB" Version="4.14.0"/>
1212
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.3.0"/>
1313
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.ServiceBus" Version="5.24.0"/>
1414
<PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Timer" Version="4.3.1"/>
15-
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.0.5"/>
15+
<PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="2.1.0"/>
1616
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.23.0"/>
17-
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="2.0.0"/>
18-
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.10"/>
17+
<PackageReference Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="2.51.0"/>
18+
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.11"/>
1919
</ItemGroup>
2020
<ItemGroup>
2121
<None Update="host.json">

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The project is designed to have fun with algorythm described in "[Beating the bo
1616

1717
# Prerequisites
1818

19-
- [.NET 9.0](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)
19+
- [.NET 10.0](https://dotnet.microsoft.com/en-us/download/dotnet/10.0)
2020
- [Azure Development Tools](https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference?tabs=blob&pivots=programming-language-csharp#development-tools)
2121
- (Optional) [NSwag Studio](https://github.com/RicoSuter/NSwag/wiki/NSwagStudio). The repository already has [The Odds API C# client](https://github.com/romankr/OddsCollector/blob/master/OddsCollector.Functions/OddsApi/WebApi/WebApiClient.cs). However, you can use [parameters.nswag](https://github.com/romankr/OddsCollector/blob/master/OddsCollector.Functions/OddsApi/WebApi/parameters.nswag) to modify it.
2222

0 commit comments

Comments
 (0)