Skip to content

Commit 1ca65a5

Browse files
authored
Merge pull request #2245 from DuendeSoftware/beh/net10-rc2-take-2
.NET 10 RC2
2 parents a909a6c + adae83e commit 1ca65a5

File tree

12 files changed

+46
-52
lines changed

12 files changed

+46
-52
lines changed

.github/workflow-gen/StepExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static void StepSetupDotNet(this Job job)
1818

1919
job.Step()
2020
.Name("Setup .NET")
21-
.ActionsSetupDotNet("3e891b0cb619bf60e2c25674b222b8940e2c1c25", ["8.0.x", "9.0.203", "10.0.100-rc.1.25451.107"]);
21+
.ActionsSetupDotNet("3e891b0cb619bf60e2c25674b222b8940e2c1c25", ["8.0.x", "9.0.203", "10.0.100-rc.2.25502.107"]);
2222
// v4.1.0
2323
}
2424

.github/workflows/aspnetcore-authentication-jwtbearer-ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
dotnet-version: |-
5454
8.0.x
5555
9.0.203
56-
10.0.100-rc.1.25451.107
56+
10.0.100-rc.2.25502.107
5757
- name: Restore
5858
run: dotnet restore aspnetcore-authentication-jwtbearer.slnf
5959
- name: Verify Formatting
@@ -85,7 +85,7 @@ jobs:
8585
dotnet-version: |-
8686
8.0.x
8787
9.0.203
88-
10.0.100-rc.1.25451.107
88+
10.0.100-rc.2.25502.107
8989
- name: Restore
9090
run: dotnet restore aspnetcore-authentication-jwtbearer.slnf
9191
- name: Build
@@ -128,7 +128,8 @@ jobs:
128128
fetch-depth: 0
129129
codeql:
130130
name: CodeQL analyze
131-
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) || (github.event_name == 'push') || (github.event_name == 'workflow_dispatch')
131+
# Remove once https://github.com/github/codeql-action/issues/3207#issuecomment-3405956414 has been resolved
132+
if: false && ((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) || (github.event_name == 'push') || (github.event_name == 'workflow_dispatch'))
132133
runs-on:
133134
group: large
134135
labels: [ubuntu-latest-x64-16core]
@@ -147,6 +148,7 @@ jobs:
147148
languages: csharp
148149
build-mode: manual
149150
db-location: ~/.codeql/databases
151+
debug: true
150152
- name: List .net sdks
151153
run: dotnet --list-sdks
152154
- name: Setup Dotnet
@@ -155,11 +157,11 @@ jobs:
155157
dotnet-version: |-
156158
8.0.x
157159
9.0.203
158-
10.0.100-rc.1.25451.107
160+
10.0.100-rc.2.25502.107
159161
- name: Restore
160162
run: dotnet restore aspnetcore-authentication-jwtbearer.slnf
161163
- name: Build
162-
run: dotnet build aspnetcore-authentication-jwtbearer.slnf --no-restore -c Release
164+
run: dotnet build aspnetcore-authentication-jwtbearer.slnf --no-restore --no-incremental -c Release
163165
- name: Perform CodeQL Analysis
164166
if: ${{ env.DISABLE_CODEQL_ANALYSIS != 'true' }}
165167
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0
@@ -198,7 +200,7 @@ jobs:
198200
dotnet-version: |-
199201
8.0.x
200202
9.0.203
201-
10.0.100-rc.1.25451.107
203+
10.0.100-rc.2.25502.107
202204
- name: Tool restore
203205
run: dotnet tool restore
204206
- name: Pack aspnetcore-authentication-jwtbearer.slnf

.github/workflows/aspnetcore-authentication-jwtbearer-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
dotnet-version: |-
6969
8.0.x
7070
9.0.203
71-
10.0.100-rc.1.25451.107
71+
10.0.100-rc.2.25502.107
7272
- name: Pack aspnetcore-authentication-jwtbearer.slnf
7373
run: dotnet pack -c Release aspnetcore-authentication-jwtbearer.slnf -o artifacts
7474
- name: Tool restore
@@ -110,7 +110,7 @@ jobs:
110110
dotnet-version: |-
111111
8.0.x
112112
9.0.203
113-
10.0.100-rc.1.25451.107
113+
10.0.100-rc.2.25502.107
114114
- name: List files
115115
run: tree
116116
shell: bash

.github/workflows/bff-ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
dotnet-version: |-
5454
8.0.x
5555
9.0.203
56-
10.0.100-rc.1.25451.107
56+
10.0.100-rc.2.25502.107
5757
- name: Restore
5858
run: dotnet restore bff.slnf
5959
- name: Verify Formatting
@@ -85,7 +85,7 @@ jobs:
8585
dotnet-version: |-
8686
8.0.x
8787
9.0.203
88-
10.0.100-rc.1.25451.107
88+
10.0.100-rc.2.25502.107
8989
- name: Restore
9090
run: dotnet restore bff.slnf
9191
- name: Build
@@ -134,15 +134,11 @@ jobs:
134134
dotnet-version: |-
135135
8.0.x
136136
9.0.203
137-
10.0.100-rc.1.25451.107
137+
10.0.100-rc.2.25502.107
138138
- name: Restore
139139
run: dotnet restore bff.slnf
140140
- name: Build
141-
# This build is using Debug config because of a known issue in net10.0 rc1
142-
# https://github.com/dotnet/aspnetcore/issues/63364
143-
# We do not intend to keep using Debug config after it is fixed in net10.0 rc2.
144-
# Re-generating the workflows with workflow-gen will overwrite this.
145-
run: dotnet build bff.slnf --no-restore -c Debug
141+
run: dotnet build bff.slnf --no-restore -c Release
146142
- id: playwright-cache
147143
name: Cache Playwright assets
148144
uses: actions/cache@v4
@@ -152,11 +148,11 @@ jobs:
152148
restore-keys: playwright-${{ runner.os }}-
153149
- name: Install Playwright
154150
if: steps.playwright-cache.outputs.cache-hit != 'true'
155-
run: pwsh test/Hosts.Tests/bin/Debug/net10.0/playwright.ps1 install --with-deps
151+
run: pwsh test/Hosts.Tests/bin/Release/net10.0/playwright.ps1 install --with-deps
156152
- name: Dotnet devcerts
157153
run: dotnet dev-certs https --trust
158154
- name: Test - test/Hosts.Tests
159-
run: dotnet test test/Hosts.Tests -c Debug --no-build --logger "console;verbosity=normal" --logger "trx;LogFileName=test/Hosts.Tests-tests.trx" --collect:"XPlat Code Coverage"
155+
run: dotnet test test/Hosts.Tests -c Release --no-build --logger "console;verbosity=normal" --logger "trx;LogFileName=test/Hosts.Tests-tests.trx" --collect:"XPlat Code Coverage"
160156
- id: test-report-test-Hosts-Tests
161157
name: Test report - test/Hosts.Tests
162158
if: github.event_name == 'push' && (success() || failure())
@@ -206,7 +202,7 @@ jobs:
206202
dotnet-version: |-
207203
8.0.x
208204
9.0.203
209-
10.0.100-rc.1.25451.107
205+
10.0.100-rc.2.25502.107
210206
- name: Restore
211207
run: dotnet restore bff.slnf
212208
- name: Build
@@ -249,7 +245,7 @@ jobs:
249245
dotnet-version: |-
250246
8.0.x
251247
9.0.203
252-
10.0.100-rc.1.25451.107
248+
10.0.100-rc.2.25502.107
253249
- name: Tool restore
254250
run: dotnet tool restore
255251
- name: Pack bff.slnf

.github/workflows/bff-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
dotnet-version: |-
6969
8.0.x
7070
9.0.203
71-
10.0.100-rc.1.25451.107
71+
10.0.100-rc.2.25502.107
7272
- name: Pack bff.slnf
7373
run: dotnet pack -c Release bff.slnf -o artifacts
7474
- name: Tool restore
@@ -110,7 +110,7 @@ jobs:
110110
dotnet-version: |-
111111
8.0.x
112112
9.0.203
113-
10.0.100-rc.1.25451.107
113+
10.0.100-rc.2.25502.107
114114
- name: List files
115115
run: tree
116116
shell: bash

.github/workflows/identity-server-ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
dotnet-version: |-
5454
8.0.x
5555
9.0.203
56-
10.0.100-rc.1.25451.107
56+
10.0.100-rc.2.25502.107
5757
- name: Restore
5858
run: dotnet restore identity-server.slnf
5959
- name: Verify Formatting
@@ -85,7 +85,7 @@ jobs:
8585
dotnet-version: |-
8686
8.0.x
8787
9.0.203
88-
10.0.100-rc.1.25451.107
88+
10.0.100-rc.2.25502.107
8989
- name: Restore
9090
run: dotnet restore identity-server.slnf
9191
- name: Build
@@ -148,15 +148,11 @@ jobs:
148148
dotnet-version: |-
149149
8.0.x
150150
9.0.203
151-
10.0.100-rc.1.25451.107
151+
10.0.100-rc.2.25502.107
152152
- name: Restore
153153
run: dotnet restore identity-server.slnf
154154
- name: Build
155-
# This build is using Debug config because of a known issue in net10.0 rc1
156-
# https://github.com/dotnet/aspnetcore/issues/63364
157-
# We do not intend to keep using Debug config after it is fixed in net10.0 rc2.
158-
# Re-generating the workflows with workflow-gen will overwrite this.
159-
run: dotnet build identity-server.slnf --no-restore -c Debug
155+
run: dotnet build identity-server.slnf --no-restore -c Release
160156
- id: playwright-cache
161157
name: Cache Playwright assets
162158
uses: actions/cache@v4
@@ -166,11 +162,11 @@ jobs:
166162
restore-keys: playwright-${{ runner.os }}-
167163
- name: Install Playwright
168164
if: steps.playwright-cache.outputs.cache-hit != 'true'
169-
run: pwsh test/IdentityServer.EndToEndTests/bin/Debug/net10.0/playwright.ps1 install --with-deps
165+
run: pwsh test/IdentityServer.EndToEndTests/bin/Release/net10.0/playwright.ps1 install --with-deps
170166
- name: Dotnet devcerts
171167
run: dotnet dev-certs https --trust
172168
- name: Test - test/IdentityServer.EndToEndTests
173-
run: dotnet test test/IdentityServer.EndToEndTests -c Debug --no-build --logger "console;verbosity=normal" --logger "trx;LogFileName=test/IdentityServer.EndToEndTests-tests.trx" --collect:"XPlat Code Coverage"
169+
run: dotnet test test/IdentityServer.EndToEndTests -c Release --no-build --logger "console;verbosity=normal" --logger "trx;LogFileName=test/IdentityServer.EndToEndTests-tests.trx" --collect:"XPlat Code Coverage"
174170
- id: test-report-test-IdentityServer-EndToEndTests
175171
name: Test report - test/IdentityServer.EndToEndTests
176172
if: github.event_name == 'push' && (success() || failure())
@@ -220,7 +216,7 @@ jobs:
220216
dotnet-version: |-
221217
8.0.x
222218
9.0.203
223-
10.0.100-rc.1.25451.107
219+
10.0.100-rc.2.25502.107
224220
- name: Restore
225221
run: dotnet restore identity-server.slnf
226222
- name: Build
@@ -263,7 +259,7 @@ jobs:
263259
dotnet-version: |-
264260
8.0.x
265261
9.0.203
266-
10.0.100-rc.1.25451.107
262+
10.0.100-rc.2.25502.107
267263
- name: Tool restore
268264
run: dotnet tool restore
269265
- name: Pack identity-server.slnf

.github/workflows/identity-server-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
dotnet-version: |-
6969
8.0.x
7070
9.0.203
71-
10.0.100-rc.1.25451.107
71+
10.0.100-rc.2.25502.107
7272
- name: Pack identity-server.slnf
7373
run: dotnet pack -c Release identity-server.slnf -o artifacts
7474
- name: Tool restore
@@ -110,7 +110,7 @@ jobs:
110110
dotnet-version: |-
111111
8.0.x
112112
9.0.203
113-
10.0.100-rc.1.25451.107
113+
10.0.100-rc.2.25502.107
114114
- name: List files
115115
run: tree
116116
shell: bash

.github/workflows/templates-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
dotnet-version: |-
4747
8.0.x
4848
9.0.203
49-
10.0.100-rc.1.25451.107
49+
10.0.100-rc.2.25502.107
5050
- name: Checkout target branch
5151
if: github.event.inputs.branch != 'main'
5252
run: git checkout ${{ github.event.inputs.branch }}
@@ -110,7 +110,7 @@ jobs:
110110
dotnet-version: |-
111111
8.0.x
112112
9.0.203
113-
10.0.100-rc.1.25451.107
113+
10.0.100-rc.2.25502.107
114114
- name: List files
115115
run: tree
116116
shell: bash

Directory.Packages.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
<LoggingAbstractionsVersion>9.0.9</LoggingAbstractionsVersion>
2323
</PropertyGroup>
2424
<PropertyGroup Condition=" '$(TargetFramework)' == 'net10.0'">
25-
<FrameworkVersion>10.0.0-rc.1.25451.107</FrameworkVersion>
26-
<EFCoreVersion>10.0.0-rc.1.25451.107</EFCoreVersion>
27-
<IdentityEFCoreVersion>10.0.0-rc.1.25451.107</IdentityEFCoreVersion>
28-
<RuntimeCompilationVersion>10.0.0-rc.1.25451.107</RuntimeCompilationVersion>
29-
<AuthenticationCertificateVersion>10.0.0-rc.1.25451.107</AuthenticationCertificateVersion>
25+
<FrameworkVersion>10.0.0-rc.2.25502.107</FrameworkVersion>
26+
<EFCoreVersion>10.0.0-rc.2.25502.107</EFCoreVersion>
27+
<IdentityEFCoreVersion>10.0.0-rc.2.25502.107</IdentityEFCoreVersion>
28+
<RuntimeCompilationVersion>10.0.0-rc.2.25502.107</RuntimeCompilationVersion>
29+
<AuthenticationCertificateVersion>10.0.0-rc.2.25502.107</AuthenticationCertificateVersion>
3030
<IdentityModelVersion>8.0.1</IdentityModelVersion>
31-
<CachingMemoryVersion>10.0.0-rc.1.25451.107</CachingMemoryVersion>
32-
<SystemTextJsonVersion>10.0.0-rc.1.25451.107</SystemTextJsonVersion>
33-
<LoggingAbstractionsVersion>10.0.0-rc.1.25451.107</LoggingAbstractionsVersion>
31+
<CachingMemoryVersion>10.0.0-rc.2.25502.107</CachingMemoryVersion>
32+
<SystemTextJsonVersion>10.0.0-rc.2.25502.107</SystemTextJsonVersion>
33+
<LoggingAbstractionsVersion>10.0.0-rc.2.25502.107</LoggingAbstractionsVersion>
3434
</PropertyGroup>
3535
<ItemGroup>
3636
<PackageVersion Include="AngleSharp" Version="1.1.2" />

aspnetcore-authentication-jwtbearer/src/AspNetCore.Authentication.JwtBearer/AspNetCore.Authentication.JwtBearer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
3+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
44
<Nullable>enable</Nullable>
55
<RootNamespace>Duende.AspNetCore.Authentication.JwtBearer</RootNamespace>
66
<AssemblyName>Duende.AspNetCore.Authentication.JwtBearer</AssemblyName>

0 commit comments

Comments
 (0)