Skip to content

Commit 4a512e6

Browse files
Updates for .NET 10
1 parent 3b15f0e commit 4a512e6

8 files changed

Lines changed: 15 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,13 @@ jobs:
2929
SECRETS_AVAILABLE: ${{ secrets.SECRETS_AVAILABLE }}
3030
run: exit $(If ($env:SECRETS_AVAILABLE -eq 'true') { 0 } Else { 1 })
3131
- name: Checkout
32-
uses: actions/checkout@v4.1.6
32+
uses: actions/checkout@v6.0.1
3333
with:
3434
fetch-depth: 0
3535
- name: Setup .NET SDK
36-
uses: actions/setup-dotnet@v4.0.0
36+
uses: actions/setup-dotnet@v5.0.1
3737
with:
38-
dotnet-version: |
39-
8.0.x
40-
6.0.x
38+
global-json-file: global.json
4139
- name: Setup Azure Functions Core Tools - Windows
4240
if: runner.os == 'Windows'
4341
run: |
@@ -56,13 +54,13 @@ jobs:
5654
run: dotnet build src --configuration Release
5755
- name: Upload packages
5856
if: runner.os == 'Windows'
59-
uses: actions/upload-artifact@v4.3.3
57+
uses: actions/upload-artifact@v6.0.0
6058
with:
6159
name: NuGet packages
6260
path: nugets/
6361
retention-days: 7
6462
- name: Azure login
65-
uses: azure/login@v2.1.1
63+
uses: azure/login@v2.3.0
6664
with:
6765
creds: ${{ secrets.AZURE_ACI_CREDENTIALS }}
6866
- name: Setup Azure Service Bus

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4.1.6
17+
uses: actions/checkout@v6.0.1
1818
with:
1919
fetch-depth: 0
2020
- name: Setup .NET SDK
21-
uses: actions/setup-dotnet@v4.0.0
21+
uses: actions/setup-dotnet@v5.0.1
2222
with:
23-
dotnet-version: 8.0.x
23+
global-json-file: global.json
2424
- name: Build
2525
run: dotnet build src --configuration Release
2626
- name: Sign NuGet packages
@@ -31,7 +31,7 @@ jobs:
3131
client-secret: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }}
3232
certificate-name: ${{ secrets.AZURE_KEY_VAULT_CERTIFICATE_NAME }}
3333
- name: Publish artifacts
34-
uses: actions/upload-artifact@v4.3.3
34+
uses: actions/upload-artifact@v6.0.0
3535
with:
3636
name: nugets
3737
path: nugets/*

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.400",
3+
"version": "10.0.100",
44
"rollForward": "latestFeature"
55
}
66
}

src/IntegrationTests.HostV4/IntegrationTests.HostV4.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<AzureFunctionsVersion>v4</AzureFunctionsVersion>
66
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
77
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GeneratedFiles</CompilerGeneratedFilesOutputPath>

src/NServiceBus.AzureFunctions.Analyzer.Tests/NServiceBus.AzureFunctions.Analyzer.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

src/NServiceBus.AzureFunctions.SourceGenerator.Tests/NServiceBus.AzureFunctions.SourceGenerator.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
77
</PropertyGroup>

src/ServiceBus.AcceptanceTests/ServiceBus.AcceptanceTests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
77
</PropertyGroup>

src/ServiceBus.Tests/ServiceBus.Tests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<SignAssembly>true</SignAssembly>
66
<AssemblyOriginatorKeyFile>..\NServiceBusTests.snk</AssemblyOriginatorKeyFile>
77
</PropertyGroup>

0 commit comments

Comments
 (0)