Skip to content

Commit 16e4160

Browse files
Update CI workflows to use .NET 10 SDK
Switched all GitHub Actions workflows for library projects from .NET 9.0.x to 10.0.x. This ensures builds and tests run against the latest .NET SDK across analyzers, backend models, client, cosmos, postgresql, and sqlserver libraries, affecting both stable and preview pipelines.
1 parent 3b22744 commit 16e4160

11 files changed

Lines changed: 11 additions & 11 deletions

.github/workflows/codebreaker-lib-analyzers-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v5
2727
with:
28-
dotnet-version: 9.0.x
28+
dotnet-version: 10.0.x
2929

3030
- name: Build the library
3131
run: dotnet build -c Release ${{ env.solutionfile-path }}

.github/workflows/codebreaker-lib-analyzers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
version-offset: 38
2626
solutionfile-path: src/Codebreaker.Analyzers.slnx
2727
projectfile-path: src/services/common/Codebreaker.GameAPIs.Analyzers/Codebreaker.Analyzers.csproj
28-
dotnet-version: '9.0.x'
28+
dotnet-version: '10.0.x'
2929
artifact-name: codebreaker-analyzers
3030
branch-name: main
3131

.github/workflows/codebreaker-lib-backendmodels-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v5
2727
with:
28-
dotnet-version: 9.0.x
28+
dotnet-version: 10.0.x
2929

3030
- name: Build the library
3131
run: dotnet build -c Release ${{ env.solutionfile-path }}

.github/workflows/codebreaker-lib-backendmodels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
version-offset: 10
2626
solutionfile-path: src/Codebreaker.Backend.Models.sln
2727
projectfile-path: src/services/common/Codebreaker.GameAPIs.Models/Codebreaker.GameAPIs.Models.csproj
28-
dotnet-version: '9.0.x'
28+
dotnet-version: '10.0.x'
2929
artifact-name: codebreaker-backend-models
3030
branch-name: main
3131

.github/workflows/codebreaker-lib-client-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v5
2727
with:
28-
dotnet-version: 9.0.x
28+
dotnet-version: 10.0.x
2929

3030
- name: Build the library
3131
run: dotnet build -c Release ${{ env.solutionfile-path }}

.github/workflows/codebreaker-lib-client.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
version-offset: 10
2626
solutionfile-path: src/Codebreaker.GameAPIs.Client.slnx
2727
projectfile-path: src/clients/Codebreaker.GameAPIs.Client/Codebreaker.GameAPIs.Client.csproj
28-
dotnet-version: '9.0.x'
28+
dotnet-version: '10.0.x'
2929
artifact-name: codebreaker-clientlib
3030
branch-name: main
3131

.github/workflows/codebreaker-lib-cosmos-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v5
2727
with:
28-
dotnet-version: 9.0.x
28+
dotnet-version: 10.0.x
2929

3030
- name: Build the library
3131
run: dotnet build -c Release ${{ env.solutionfile-path }}

.github/workflows/codebreaker-lib-cosmos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
version-offset: 10
2626
solutionfile-path: src/Codebreaker.Backend.Cosmos.sln
2727
projectfile-path: src/services/common/Codebreaker.Data.Cosmos/Codebreaker.Data.Cosmos.csproj
28-
dotnet-version: '9.0.x'
28+
dotnet-version: '10.0.x'
2929
artifact-name: codebreaker-cosmos
3030
branch-name: main
3131

.github/workflows/codebreaker-lib-postgresql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
version-offset: 5
2525
solutionfile-path: src/Codebreaker.Backend.Postgres.slnx
2626
projectfile-path: src/services/common/Codebreaker.Data.Postgres/Codebreaker.Data.Postgres.csproj
27-
dotnet-version: '9.0.x'
27+
dotnet-version: '10.0.x'
2828
artifact-name: codebreaker-postgres
2929
branch-name: main
3030

.github/workflows/codebreaker-lib-sqlserver-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET
2626
uses: actions/setup-dotnet@v5
2727
with:
28-
dotnet-version: 9.0.x
28+
dotnet-version: 10.0.x
2929

3030
- name: Build the library
3131
run: dotnet build -c Release ${{ env.solutionfile-path }}

0 commit comments

Comments
 (0)