Skip to content

Commit 2e5c13f

Browse files
authored
Install .NET 10 in CI
1 parent 2ab1500 commit 2e5c13f

File tree

3 files changed

+10
-14
lines changed

3 files changed

+10
-14
lines changed

.azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ jobs:
7575
- template: support/install-dotnet.yml@rsg
7676
parameters:
7777
DotNetSdk:
78-
- '2.1.x'
79-
- '3.1.x'
80-
- '5.0.x'
78+
- '8.0.x'
79+
- '9.0.x'
80+
- '10.0.x'
8181

8282
- task: DotNetCoreCLI@2
8383
displayName: 'dotnet tool restore'

.build/Solution.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ RocketSurgeonGitHubActionsConfiguration configuration
100100
.Jobs.OfType<RocketSurgeonsGithubActionsJob>()
101101
.First(z => z.Name.Equals("Build", StringComparison.OrdinalIgnoreCase))
102102
.ConfigureStep<CheckoutStep>(step => step.FetchDepth = 0)
103-
.UseDotNetSdks("3.1", "6.0", "8.0", "9.0")
103+
.UseDotNetSdks("8.0", "9.0", "10.0")
104104
.AddNuGetCache()
105105
.AddVscodeExtensionTests()
106106
.PublishLogs<Solution>()

.github/workflows/ci.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -89,22 +89,18 @@ jobs:
8989
with:
9090
path: '${{ github.workspace }}/.nuget/packages'
9191
key: "${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}-${{ hashFiles('**/dotnet-tools.json') }}"
92-
- name: 🔨 Use .NET Core 3.1 SDK
93-
uses: actions/setup-dotnet@v5.0.0
94-
with:
95-
dotnet-version: '3.1.x'
96-
- name: 🔨 Use .NET Core 6.0 SDK
97-
uses: actions/setup-dotnet@v5.0.0
98-
with:
99-
dotnet-version: '6.0.x'
100-
- name: 🔨 Use .NET Core 8.0 SDK
92+
- name: 🔨 Use .NET 8.0 SDK
10193
uses: actions/setup-dotnet@v5.0.0
10294
with:
10395
dotnet-version: '8.0.x'
104-
- name: 🔨 Use .NET Core 9.0 SDK
96+
- name: 🔨 Use .NET 9.0 SDK
10597
uses: actions/setup-dotnet@v5.0.0
10698
with:
10799
dotnet-version: '9.0.x'
100+
- name: 🔨 Use .NET 10.0 SDK
101+
uses: actions/setup-dotnet@v5.0.0
102+
with:
103+
dotnet-version: '10.0.x'
108104
- name: 🎁 dotnet tool restore
109105
run: |
110106
dotnet tool restore

0 commit comments

Comments
 (0)