Skip to content

Commit 4b85495

Browse files
committed
feat: Upgrade all CI/CD workflows to .NET 10.0
- Update DOTNET_VERSION from 8.0.x to 10.0.x across all workflows - Update job names to reflect .NET 10.0 usage - Update test framework from net8.0 to net10.0 - Maintain compatibility with existing target frameworks - Ensure all pipelines use latest .NET runtime - Updated workflows: ci-build-test, publish-nuget, security-scan, code-quality, auto-pr-from-main, publish-all
1 parent 217289f commit 4b85495

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/auto-pr-from-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: 🗄️ Setup .NET
3030
uses: actions/setup-dotnet@v5
3131
with:
32-
dotnet-version: "8.0.x"
32+
dotnet-version: "10.0.x"
3333

3434
- name: � Check for NuGet Updates
3535
run: |
@@ -147,7 +147,7 @@ jobs:
147147
- name: �️ Setup .NET
148148
uses: actions/setup-dotnet@v5
149149
with:
150-
dotnet-version: "8.0.x"
150+
dotnet-version: "10.0.x"
151151

152152
- name: 🔒 Check for Security Updates
153153
run: |

.github/workflows/ci-build-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ on:
1212
types: [opened, synchronize, reopened, closed]
1313

1414
env:
15-
DOTNET_VERSION: "8.0.x"
15+
DOTNET_VERSION: "10.0.x"
1616

1717
jobs:
1818
# Build QRCoder.Core
1919
build-qrcoder:
20-
name: Build QRCoder.Core (.NET 8)
20+
name: Build QRCoder.Core (.NET 10)
2121
runs-on: ubuntu-latest
2222

2323
steps:
@@ -63,7 +63,7 @@ jobs:
6363
--results-directory TestResults \
6464
--collect:"XPlat Code Coverage" \
6565
--verbosity normal \
66-
--framework net8.0
66+
--framework net10.0
6767
6868
- name: Upload Test Results
6969
uses: actions/upload-artifact@v4

.github/workflows/code-quality.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: 🗄️ Setup .NET
6262
uses: actions/setup-dotnet@v5
6363
with:
64-
dotnet-version: "8.0.x"
64+
dotnet-version: "10.0.x"
6565

6666
- name: ☕ Set up JDK 17
6767
uses: actions/setup-java@v5
@@ -124,7 +124,7 @@ jobs:
124124
- name: 🗄️ Setup .NET
125125
uses: actions/setup-dotnet@v5
126126
with:
127-
dotnet-version: "8.0.x"
127+
dotnet-version: "10.0.x"
128128

129129
- name: 🔧 Restore Dependencies
130130
run: dotnet restore MetarDecoder.sln --ignore-failed-sources
@@ -203,7 +203,7 @@ jobs:
203203
- name: 🗄️ Setup .NET
204204
uses: actions/setup-dotnet@v5
205205
with:
206-
dotnet-version: "8.0.x"
206+
dotnet-version: "10.0.x"
207207

208208
- name: 🔧 Restore Dependencies
209209
run: dotnet restore MetarDecoder.sln --ignore-failed-sources

.github/workflows/publish-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: 🗄️ Setup .NET
6060
uses: actions/setup-dotnet@v5
6161
with:
62-
dotnet-version: "8.0.x"
62+
dotnet-version: "10.0.x"
6363

6464
- name: 🔧 Clear NuGet cache
6565
run: dotnet nuget locals all --clear

.github/workflows/publish-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
type: boolean
1818

1919
env:
20-
DOTNET_VERSION: "8.0.x"
20+
DOTNET_VERSION: "10.0.x"
2121

2222
jobs:
2323
# Build and Test

.github/workflows/security-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: 🗄️ Setup .NET
5555
uses: actions/setup-dotnet@v5
5656
with:
57-
dotnet-version: "8.0.x"
57+
dotnet-version: "10.0.x"
5858

5959
- name: 🔧 Restore Dependencies
6060
run: dotnet restore MetarDecoder.sln --ignore-failed-sources
@@ -89,7 +89,7 @@ jobs:
8989
- name: 🗄️ Setup .NET
9090
uses: actions/setup-dotnet@v5
9191
with:
92-
dotnet-version: "8.0.x"
92+
dotnet-version: "10.0.x"
9393

9494
- name: ☕ Set up JDK 17
9595
uses: actions/setup-java@v5

0 commit comments

Comments
 (0)