Skip to content

Commit 9ff366d

Browse files
authored
Merge pull request #1160 from dotnet/dev/andarno/libtemplateUpdate
Merge the latest Library.Template
2 parents 21a83d3 + 0db458b commit 9ff366d

17 files changed

+37
-21
lines changed

.config/dotnet-tools.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"powershell": {
6-
"version": "7.4.6",
6+
"version": "7.5.0",
77
"commands": [
88
"pwsh"
99
],
@@ -17,7 +17,7 @@
1717
"rollForward": false
1818
},
1919
"nbgv": {
20-
"version": "3.7.112",
20+
"version": "3.7.115",
2121
"commands": [
2222
"nbgv"
2323
],

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Refer to https://hub.docker.com/_/microsoft-dotnet-sdk for available versions
2-
FROM mcr.microsoft.com/dotnet/sdk:9.0.101-noble
2+
FROM mcr.microsoft.com/dotnet/sdk:9.0.102-noble
33

44
# Installing mono makes `dotnet test` work without errors even for net472.
55
# But installing it takes a long time, so it's excluded by default.

.github/renovate.json

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"matchDatasources": ["dotnet-version", "docker"],
1717
"matchDepNames": ["dotnet-sdk", "mcr.microsoft.com/dotnet/sdk"],
1818
"groupName": "Dockerfile and global.json updates"
19+
},
20+
{
21+
"matchPackageNames": ["*"],
22+
"allowedVersions": "!/-g[a-f0-9]+$/"
1923
}
2024
]
2125
}

.github/workflows/build.yml

+10
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,13 @@ jobs:
288288
with:
289289
name: benchmarks-${{ matrix.os }}
290290
path: ${{ runner.temp }}/_artifacts/benchmarks
291+
292+
docs:
293+
name: 📃 Docs
294+
runs-on: ubuntu-latest
295+
steps:
296+
- uses: actions/checkout@v4
297+
- name: 🔗 Markup Link Checker (mlc)
298+
uses: becheran/mlc@v0.19.2
299+
with:
300+
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/* -p docfx

.github/workflows/libtemplate-update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
# Pushing commits that add or change files under .github/workflows will cause our workflow to fail.
4747
# But it usually isn't necessary because the target branch already has (or doesn't have) these changes.
48-
# So if the merged doesn't bring in any changes to these files, try the merge locally and push that
48+
# So if the merge doesn't bring in any changes to these files, try the merge locally and push that
4949
# to keep github happy.
5050
if ((git rev-list FETCH_HEAD ^HEAD --count -- .github/workflows) -eq 0) {
5151
# Indeed there are no changes in that area. So merge locally to try to appease GitHub.

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This project is actively developed using the following software.
99
It is highly recommended that anyone contributing to this library use the same
1010
software.
1111

12-
1. [Visual Studio 2019][VS]
12+
1. [Visual Studio 2022][VS]
1313
2. [Node.js][NodeJs] v16 (v18 breaks our build)
1414

1515
### Optional additional software

Directory.Packages.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</ItemGroup>
4444
<ItemGroup Label="Library.Template">
4545
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
46-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0" />
46+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
4747
<PackageVersion Include="xunit" Version="2.9.2" />
4848
</ItemGroup>
4949
<ItemGroup>

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.101",
3+
"version": "9.0.102",
44
"rollForward": "patch",
55
"allowPrerelease": false
66
}

test/Cake.GitVersioning.Tests/app.config

-5
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
3+
"shadowCopy": false
4+
}

test/Directory.Build.targets

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
3+
<ItemGroup>
4+
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" Condition="Exists('xunit.runner.json')" />
5+
</ItemGroup>
6+
37
<Import Project="$([MSBuild]::GetPathOfFileAbove($(MSBuildThisFile), $(MSBuildThisFileDirectory)..))" />
48
</Project>

test/Nerdbank.GitVersioning.Tests/app.config

-5
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
3+
"shadowCopy": false
4+
}

tools/Get-NuGetTool.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#>
77
Param(
88
[Parameter()]
9-
[string]$NuGetVersion='6.4.0'
9+
[string]$NuGetVersion='6.12.2'
1010
)
1111

1212
$toolsPath = & "$PSScriptRoot\Get-TempToolsPath.ps1"

tools/artifacts/_stage_all.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ param (
1111
[switch]$AvoidSymbolicLinks
1212
)
1313

14-
$ArtifactStagingFolder = & "$PSScriptRoot/../../tools/Get-ArtifactsStagingDirectory.ps1" -CleanIfLocal
14+
$ArtifactStagingFolder = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1" -CleanIfLocal
1515

1616
function Create-SymbolicLink {
1717
param (

tools/artifacts/build_logs.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$ArtifactStagingFolder = & "$PSScriptRoot/../../tools/Get-ArtifactsStagingDirectory.ps1"
1+
$ArtifactStagingFolder = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1"
22

33
if (!(Test-Path $ArtifactStagingFolder/build_logs)) { return }
44

tools/artifacts/testResults.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $result = @{}
77
$testRoot = Resolve-Path "$PSScriptRoot\..\..\test"
88
$result[$testRoot] = (Get-ChildItem "$testRoot\TestResults" -Recurse -Directory | Get-ChildItem -Recurse -File)
99

10-
$artifactStaging = & "$PSScriptRoot\..\Get-ArtifactsStagingDirectory.ps1"
10+
$artifactStaging = & "$PSScriptRoot/../Get-ArtifactsStagingDirectory.ps1"
1111
$testlogsPath = Join-Path $artifactStaging "test_logs"
1212
if (Test-Path $testlogsPath) {
1313
$result[$testlogsPath] = Get-ChildItem $testlogsPath -Recurse;

0 commit comments

Comments
 (0)