Skip to content

Commit 2e2faf9

Browse files
AArnottrenovate[bot]akoeplinger
authored
Merge latest Library.Template (#348)
* Drop `auto-insertion` tag handling Now that official and unofficial pipelines are distinct, there's no real reason to avoid triggering an insertion with every official build. * Update actions/checkout digest to 93cb6ef Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Replace hard-coded codecov_token with secrets/variables * Update actions/checkout action to v6 (443) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Use official URLs in Install-DotNetSdk.ps1 The blob storage URLs will stop working, see dotnet/announcements#336 * Update dependency xunit.v3 to 3.2.1 (445) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Switch out our own OptProf profiling pipeline for the VS one * Merge pull request 447 to Build on newer agents * Update actions/checkout digest to 8e8c483 (448) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update actions/checkout digest * Build on VS2026 agents * Better pinning of GitHub Actions * Update actions/checkout action to v6.0.1 (449) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Exclude `vs-insertion-script.ps1` from signing requirement * Update actions/deploy-pages action to v4.0.5 (450) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Skip SBOM generation for the vs-insertion pipeline * Remove stray backtick from README * Update NuGet/login action to v1.1.0 (451) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Remove vs-threading specific change * Remove stale comment * Update actions/checkout action to v6.0.1 * Fix alignment of `sbom` parameter * Fix template expansion * Opt into Microsoft Testing Platform (MTP) (#452) * Push to nuget.org before pushing to github release This makes recovering a release from a nuget.org push failure easier. * Update to MTP v2 (#455) * Update all MTP related packages at once (457) * Fix test result publishing to AzDO (458) * Update .NET SDK to v10.0.101 (#459) * Update mcr.microsoft.com/dotnet/sdk Docker tag to v10.0.101 * Bump .NET SDK --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Arnott <andrew.arnott@microsoft.com> * Drop package dependencies that MTP does not require * Fix MTP test failure for MTP-incompatible projects under the test folder * Fix testing regression from last commit * Adjust how we use IsTestProject This matches how MTP uses it internally. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2 parents b9865e2 + f69d69c commit 2e2faf9

37 files changed

+289
-575
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# You can define any steps you want, and they will run before the agent starts.
2727
# If you do not check out your code, Copilot will do this for you.
2828
steps:
29-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
29+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3030
with:
3131
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
3232
- name: ⚙ Install prerequisites

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
url: ${{ steps.deployment.outputs.page_url }}
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
27+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2828
with:
2929
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
3030
- name: ⚙ Install prerequisites
@@ -40,4 +40,4 @@ jobs:
4040

4141
- name: Deploy to GitHub Pages
4242
id: deployment
43-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
43+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/docs_validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: 📚 Doc validation
1414
runs-on: ubuntu-24.04
1515
steps:
16-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
16+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1717
with:
1818
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
1919
- name: 🔗 Markup Link Checker (mlc)

.github/workflows/libtemplate-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: write
1818
pull-requests: write
1919
steps:
20-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
20+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2121
with:
2222
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
2323

Directory.Packages.props

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PropertyGroup>
55
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
66
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
7+
<MicrosoftTestingPlatformVersion>2.0.2</MicrosoftTestingPlatformVersion>
78

89
<MicroBuildVersion>2.0.208</MicroBuildVersion>
910
</PropertyGroup>
@@ -24,10 +25,12 @@
2425
<PackageVersion Include="xunit.assert" Version="2.9.3" />
2526
</ItemGroup>
2627
<ItemGroup Label="Library.Template">
27-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
28+
<PackageVersion Include="Microsoft.Testing.Extensions.CodeCoverage" Version="18.1.0" />
29+
<PackageVersion Include="Microsoft.Testing.Extensions.CrashDump" Version="$(MicrosoftTestingPlatformVersion)" />
30+
<PackageVersion Include="Microsoft.Testing.Extensions.HangDump" Version="$(MicrosoftTestingPlatformVersion)" />
31+
<PackageVersion Include="Microsoft.Testing.Extensions.TrxReport" Version="$(MicrosoftTestingPlatformVersion)" />
2832
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
29-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" />
30-
<PackageVersion Include="xunit.v3" Version="3.2.0" />
33+
<PackageVersion Include="xunit.v3.mtp-v2" Version="3.2.1" />
3134
</ItemGroup>
3235
<ItemGroup>
3336
<!-- Put repo-specific GlobalPackageReference items in this group. -->

azure-pipelines/BuildStageVariables.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ variables:
22
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
33
BuildConfiguration: Release
44
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages/
5-
# codecov_token: 4dc9e7e2-6b01-4932-a180-847b52b43d35 # Get a new one from https://codecov.io/

azure-pipelines/Merge-CodeCoverage.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ try {
2828
if ($reports) {
2929
$reports |% { $_.FullName } |% {
3030
# In addition to replacing {reporoot}, we also normalize on one kind of slash so that the report aggregates data for a file whether data was collected on Windows or not.
31+
Write-Verbose "Processing $_"
3132
$xml = [xml](Get-Content -LiteralPath $_)
3233
$xml.coverage.packages.package.classes.class |? { $_.filename} |% {
3334
$_.filename = $_.filename.Replace('{reporoot}', $RepoRoot).Replace([IO.Path]::AltDirectorySeparatorChar, [IO.Path]::DirectorySeparatorChar)

azure-pipelines/OptProf.yml

Lines changed: 0 additions & 125 deletions
This file was deleted.

azure-pipelines/OptProf_part2.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

azure-pipelines/archive-sourcecode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extends:
3838
settings:
3939
networkIsolationPolicy: Permissive,CFSClean
4040
sdl:
41-
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES
41+
sourceAnalysisPool: VSEng-MicroBuildVSStable
4242

4343
stages:
4444
- stage: archive

0 commit comments

Comments
 (0)