Skip to content

Commit 91ef711

Browse files
authored
Merge branch 'main' into patch-1
2 parents 2e18aa0 + a8902c9 commit 91ef711

29 files changed

+219
-192
lines changed

#scripts/roslyn-branches/arm/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"serverFarmId": "[variables('serverfarms_main_id')]",
3535
"clientAffinityEnabled": false,
3636
"siteConfig": {
37-
"netFrameworkVersion": "v8.0",
37+
"netFrameworkVersion": "v9.0",
3838
"publishingUsername": "[concat('$', parameters('sites_name'))]",
3939
"use32BitWorkerProcess": true,
4040
"webSocketsEnabled": true,

#scripts/roslyn-branches/flow/update/updateBranch.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ async function buildSharpLab(roslynPackagesRoot: string) {
177177
// sigh: dotnet.exe should do this, but of course it does not
178178
const projectPath = projectPathUntyped as string;
179179
const projectName = path.basename(projectPath);
180-
if (/mirrorsharp[^/\\]*[/\\]Internal\.Roslyn/i.test(projectPath)) {
180+
if (/mirrorsharp[^/\\]*[/\\]Internal\.Roslyn|Mobius\.ILasm\.Tests\.SourceGenerator/i.test(projectPath)) {
181181
console.log(` ${projectName}`);
182182
console.log(' Skipping');
183183
continue;
@@ -222,6 +222,7 @@ async function buildSharpLab(roslynPackagesRoot: string) {
222222
'--source', 'https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json',
223223
'--source', 'https://ci.appveyor.com/nuget/vanara-prerelease',
224224
'--source', roslynPackagesRoot,
225+
'-p:NuGetAudit=false',
225226
'--verbosity', 'minimal'
226227
], {
227228
stdout: 'inherit',
@@ -242,7 +243,7 @@ async function buildSharpLab(roslynPackagesRoot: string) {
242243
});
243244

244245
return {
245-
publishRoot: `${branchSourceRoot}/Server/bin/Release/net8.0/publish`
246+
publishRoot: `${branchSourceRoot}/Server/bin/Release/net9.0/publish`
246247
};
247248
}
248249

.github/workflows/container-host-edge.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ on:
1414

1515
jobs:
1616
build:
17-
name: 'Build (.NET 8)'
17+
name: 'Build (.NET 9)'
1818
# https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012/5
1919
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
2020
runs-on: windows-latest
2121
env:
2222
NUGET_PACKAGES: ${{github.workspace}}/.nuget/packages
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
with:
2626
submodules: 'true'
27-
- uses: actions/setup-dotnet@v3
27+
- uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: 8.0.x
29+
dotnet-version: 9.0.x
3030
- uses: microsoft/[email protected]
3131

3232
# https://github.com/actions/setup-dotnet/issues/155
@@ -47,7 +47,7 @@ jobs:
4747
- run: dotnet build source/Tests --configuration Release
4848
- run: dotnet test source/Tests --no-build --configuration Release
4949
- run: dotnet publish source/Container.Manager --no-build --configuration Release
50-
- run: Compress-Archive -Path 'source/Container.Manager/bin/Release/net8.0/publish/*' -DestinationPath 'Container.Manager.zip'
50+
- run: Compress-Archive -Path 'source/Container.Manager/bin/Release/net9.0/publish/*' -DestinationPath 'Container.Manager.zip'
5151
shell: pwsh
5252

5353
- uses: actions/upload-artifact@v3

.github/workflows/roslyn-branches.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ jobs:
5151
- uses: actions/setup-node@v3
5252
with:
5353
node-version: '20.14.0'
54-
- uses: actions/setup-dotnet@v3
54+
- uses: actions/setup-dotnet@v4
5555
with:
56-
dotnet-version: 8.0.x
56+
dotnet-version: 9.0.x
5757
- run: npm ci
5858
- run: npm run update-branch -- ${{matrix.branch}}
5959
env:

.github/workflows/server-edge.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ on:
1616

1717
jobs:
1818
build-core:
19-
name: 'Build (.NET 8)'
19+
name: 'Build (.NET 9)'
2020
# https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012/5
2121
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
2222
runs-on: windows-latest
2323
env:
2424
NUGET_PACKAGES: ${{github.workspace}}/.nuget/packages
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
submodules: 'true'
29-
- uses: actions/setup-dotnet@v3
29+
- uses: actions/setup-dotnet@v4
3030
with:
31-
dotnet-version: 8.0.x
31+
dotnet-version: 9.0.x
3232
- uses: microsoft/[email protected]
3333

3434
# https://github.com/actions/setup-dotnet/issues/155
@@ -52,9 +52,9 @@ jobs:
5252
- run: dotnet test source/Tests --no-build --configuration Release
5353
- run: dotnet publish source/Server --no-build --configuration Release
5454
- run: dotnet publish source/WebApp.Server --no-build --configuration Release /p:ErrorOnDuplicatePublishOutputFiles=false
55-
- run: Compress-Archive -Path 'source/Server/bin/Release/net8.0/publish/*' -DestinationPath 'Server.zip'
55+
- run: Compress-Archive -Path 'source/Server/bin/Release/net9.0/publish/*' -DestinationPath 'Server.zip'
5656
shell: pwsh
57-
- run: Compress-Archive -Path 'source/WebApp.Server/bin/Release/net8.0/publish/*' -DestinationPath 'WebApp.Server.zip'
57+
- run: Compress-Archive -Path 'source/WebApp.Server/bin/Release/net9.0/publish/*' -DestinationPath 'WebApp.Server.zip'
5858
shell: pwsh
5959

6060
- uses: actions/upload-artifact@v3
@@ -109,12 +109,12 @@ jobs:
109109
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
110110
runs-on: windows-latest
111111
steps:
112-
- uses: actions/checkout@v3
112+
- uses: actions/checkout@v4
113113
with:
114114
submodules: 'true'
115-
- uses: actions/setup-dotnet@v3
115+
- uses: actions/setup-dotnet@v4
116116
with:
117-
dotnet-version: 8.0.x
117+
dotnet-version: 9.0.x
118118

119119
# https://github.com/actions/setup-dotnet/issues/155
120120
- run: dotnet nuget locals all --clear
@@ -178,7 +178,7 @@ jobs:
178178
- deploy-netfx
179179
if: github.ref == 'refs/heads/main'
180180
steps:
181-
- uses: actions/checkout@v3
181+
- uses: actions/checkout@v4
182182

183183
- run: 'git show ${{ github.sha }} --format="version_number=%cd" --date=format:%Y-%m-%d-%H%M --no-patch >> $GITHUB_OUTPUT'
184184
id: version

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": "8.0.100",
3+
"version": "9.0.100",
44
"rollForward": "latestFeature"
55
}
66
}

source/Container.Manager/Container.Manager.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<AssemblyName>SharpLab.Container.Manager</AssemblyName>
55
<RootNamespace>SharpLab.Container.Manager</RootNamespace>
66
</PropertyGroup>
@@ -13,6 +13,8 @@
1313
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.17.0" />
1414
<PackageReference Include="protobuf-net" Version="3.0.101" />
1515
<PackageReference Include="System.Runtime.Caching" Version="5.0.0" />
16+
<!-- Avoids vulnerability in version referenced by other dependencies -->
17+
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
1618
</ItemGroup>
1719

1820
<ItemGroup>

source/Container.Warmup/Container.Warmup.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<AssemblyName>SharpLab.Container.Warmup</AssemblyName>
66
<RootNamespace>SharpLab.Container.Warmup</RootNamespace>
77
</PropertyGroup>

0 commit comments

Comments
 (0)