Skip to content

Commit 7d7aebb

Browse files
authored
fix(security): upgrade .NET SDK to 10.0.202
1 parent 063026f commit 7d7aebb

6 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
uses: actions/setup-dotnet@v5
4242
with:
4343
dotnet-version: |
44-
8.x
44+
6.x
45+
10.x
4546
- uses: actions/checkout@v6
4647
with:
4748
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

.github/workflows/validatePullRequest.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v6
2525

26-
- name: Setup .NET
26+
- name: Setup .NET 6
2727
uses: actions/setup-dotnet@v5
2828
with:
2929
dotnet-version: 6.0.x
3030

31+
- name: Setup .NET 10
32+
uses: actions/setup-dotnet@v5
33+
with:
34+
dotnet-version: 10.0.x
35+
3136
- name: Setup JDK for android targets
3237
uses: actions/setup-java@v5
3338
with:
@@ -66,7 +71,7 @@ jobs:
6671
- name: Setup .NET
6772
uses: actions/setup-dotnet@v5
6873
with:
69-
dotnet-version: 9.x
74+
dotnet-version: 10.x
7075

7176
- name: Validate Trimming warnings
7277
run: dotnet publish -c Release -r win-x64 /p:TreatWarningsAsErrors=true /warnaserror -f net9.0

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": "6.0.417", /* https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI */
3+
"version": "10.0.202",
44
"rollForward": "major"
55
}
66
}

pipelines/productionBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ extends:
5858
inputs:
5959
version: 6.x
6060
- task: UseDotNet@2
61-
displayName: 'Use .NET 9 for trimming validation'
61+
displayName: 'Use .NET 10 for trimming validation'
6262
inputs:
63-
version: 9.x
63+
version: 10.x
6464
- task: PowerShell@2
6565
displayName: 'Set Java Home to use Java 11'
6666
inputs:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "6.0.417", /* https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI */
3+
"version": "10.0.202",
44
"rollForward": "major"
55
}
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.102", /* https://github.com/dotnet/maui/wiki/.NET-7-and-.NET-MAUI */
3+
"version": "10.0.202",
44
"rollForward": "major"
55
}
66
}

0 commit comments

Comments
 (0)