Skip to content

Commit aac9078

Browse files
[main] Update dependencies from dotnet/arcade (#496)
[main] Update dependencies from dotnet/arcade - Add nullable annotations
1 parent 29bf4c3 commit aac9078

File tree

14 files changed

+31
-29
lines changed

14 files changed

+31
-29
lines changed

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.23628.1">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24172.4">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>9e5fd26c0d1a187dfa08242d83e341634d4b1b07</Sha>
8+
<Sha>c936d1bc358744730613d8ce54bc3e0294e5ea56</Sha>
99
</Dependency>
1010
</ToolsetDependencies>
1111
</Dependencies>

eng/common/templates-official/job/job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128

129129
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
130130
- ${{ if eq(parameters.enableMicrobuild, 'true') }}:
131-
- task: MicroBuildSigningPlugin@3
131+
- task: MicroBuildSigningPlugin@4
132132
displayName: Install MicroBuild plugin
133133
inputs:
134134
signType: $(_SignType)

eng/common/templates-official/job/publish-build-assets.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,16 @@ jobs:
9898
inputs:
9999
targetType: inline
100100
script: |
101-
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(BARBuildId)
102-
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value "$(DefaultChannels)"
103-
Add-Content -Path "$(Build.StagingDirectory)/ReleaseConfigs.txt" -Value $(IsStableBuild)
101+
New-Item -Path "$(Build.StagingDirectory)/ReleaseConfigs" -ItemType Directory -Force
102+
$filePath = "$(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt"
103+
Add-Content -Path $filePath -Value $(BARBuildId)
104+
Add-Content -Path $filePath -Value "$(DefaultChannels)"
105+
Add-Content -Path $filePath -Value $(IsStableBuild)
104106
105107
- task: 1ES.PublishBuildArtifacts@1
106108
displayName: Publish ReleaseConfigs Artifact
107109
inputs:
108-
PathtoPublish: '$(Build.StagingDirectory)/ReleaseConfigs.txt'
110+
PathtoPublish: '$(Build.StagingDirectory)/ReleaseConfigs'
109111
PublishLocation: Container
110112
ArtifactName: ReleaseConfigs
111113

global.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"version": "9.0.100-alpha.1.23615.4"
3+
"version": "9.0.100-preview.1.24101.2"
44
},
55
"tools": {
6-
"dotnet": "9.0.100-alpha.1.23615.4",
6+
"dotnet": "9.0.100-preview.1.24101.2",
77
"runtimes": {
88
"dotnet": [
99
"6.0.4",
@@ -18,6 +18,6 @@
1818
}
1919
},
2020
"msbuild-sdks": {
21-
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.23628.1"
21+
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24172.4"
2222
}
2323
}

test/Microsoft.AspNetCore.SystemWebAdapters.CoreServices.Tests/RemoteAppClientOptionsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ public class RemoteAppClientOptionsTests
2424
[InlineData("HeaderName", "", "http://test", false)]
2525
[InlineData("HeaderName", "36705d36-eba0-44f9-a2e0-c57e6f521274", null, false)]
2626
[Theory]
27-
public void VerifyIsCalled(string apiKeyHeader, string apiKey, string remoteApp, bool shouldSucceed)
27+
public void VerifyIsCalled(string? apiKeyHeader, string? apiKey, string? remoteApp, bool shouldSucceed)
2828
{
2929
// Arrange
3030
var services = new ServiceCollection();
3131
var builder = new TestBuilder { Services = services };
3232

3333
builder.AddRemoteAppClient(options =>
3434
{
35-
options.ApiKey = apiKey;
36-
options.ApiKeyHeader = apiKeyHeader;
35+
options.ApiKey = apiKey!;
36+
options.ApiKeyHeader = apiKeyHeader!;
3737

3838
if (remoteApp is not null)
3939
{

test/Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices.Tests/Authentication/RemoteAppAuthenticationModuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class RemoteAppAuthenticationModuleTests
2828
[InlineData(null, null, "", 400, null, null)]
2929
[InlineData(null, null, "http://a", 400, null, null)]
3030
[Theory]
31-
public void VerifyAuthenticationRequestHandling(string apiKey, string authMigrationHeader, string originalPath, int expectedStatusCode, string expectedRedirect, Type expectedHandlerType)
31+
public void VerifyAuthenticationRequestHandling(string? apiKey, string? authMigrationHeader, string? originalPath, int expectedStatusCode, string? expectedRedirect, Type? expectedHandlerType)
3232
{
3333
// Arrange
3434

test/Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices.Tests/Authentication/RemoteAppAuthenticationServerOptionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ public class RemoteAppAuthenticationServerOptionsTests
1515
[InlineData(null, false)]
1616
[InlineData("", false)]
1717
[Theory]
18-
public void VerifyIsCalled(string endpoint, bool shouldSucceed)
18+
public void VerifyIsCalled(string? endpoint, bool shouldSucceed)
1919
{
2020
// Arrange
2121
var services = new ServiceCollection();
2222
var builder = new TestBuilder { Services = services };
2323

2424
builder.AddAuthenticationServer(options =>
2525
{
26-
options.AuthenticationEndpointPath = endpoint;
26+
options.AuthenticationEndpointPath = endpoint!;
2727
});
2828

2929
using var serviceProvider = services.BuildServiceProvider();

test/Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices.Tests/RemoteAppServerOptionsTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ public class RemoteAppServerOptionsTests
2121
[InlineData("HeaderName", null, false)]
2222
[InlineData("HeaderName", "", false)]
2323
[Theory]
24-
public void VerifyIsCalled(string apiKeyHeader, string apiKey, bool shouldSucceed)
24+
public void VerifyIsCalled(string? apiKeyHeader, string? apiKey, bool shouldSucceed)
2525
{
2626
// Arrange
2727
var services = new ServiceCollection();
2828
var builder = new TestBuilder { Services = services };
2929

3030
builder.AddRemoteAppServer(options =>
3131
{
32-
options.ApiKey = apiKey;
33-
options.ApiKeyHeader = apiKeyHeader;
32+
options.ApiKey = apiKey!;
33+
options.ApiKeyHeader = apiKeyHeader!;
3434
});
3535

3636
using var serviceProvider = services.BuildServiceProvider();

test/Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices.Tests/RemoteSession/RemoteSessionModuleTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public RemoteSessionModuleTests()
3737
[InlineData("PUT", "false", 0, ApiKey1, ApiKey1, typeof(StoreSessionStateHandler))]
3838
[InlineData("POST", null, 405, ApiKey1, ApiKey1, null)]
3939
[Theory]
40-
public void VerifyCorrectHandler(string method, string readOnlyHeaderValue, int statusCode, string expectedApiKey, string apiKey, Type handlerType)
40+
public void VerifyCorrectHandler(string method, string? readOnlyHeaderValue, int statusCode, string expectedApiKey, string apiKey, Type? handlerType)
4141
{
4242
// Arrange
4343
var sessionOptions = Options.Create(new RemoteAppSessionStateServerOptions());

test/Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices.Tests/RemoteSession/StoreSessionStateHandlerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public async Task NoCookieSet()
6666
[InlineData((int)SessionSaveResult.AlreadyUpdated, 400, StoreSessionStateHandler.Messages.SessionAlreadyUpdated)]
6767
[InlineData((int)SessionSaveResult.DeserializationError, 400, StoreSessionStateHandler.Messages.DeserializationFailed)]
6868
[Theory]
69-
public async Task WithCookie(int result, int statusCode, string description)
69+
public async Task WithCookie(int result, int statusCode, string? description)
7070
{
7171
// Arrange
7272
var output = new Mock<Stream>();

0 commit comments

Comments
 (0)