Skip to content

Commit 02d60f9

Browse files
authored
Merge pull request #1140 from dotnet/dev/andarno/libtemplateUpdate
Merge latest Library.Template
2 parents 7b86ca1 + 670f841 commit 02d60f9

File tree

65 files changed

+145
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+145
-102
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
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.100-noble
2+
FROM mcr.microsoft.com/dotnet/sdk:9.0.101-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/actions/publish-artifacts/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: composite
66
steps:
77
- name: 📥 Collect artifacts
8-
run: azure-pipelines/artifacts/_stage_all.ps1
8+
run: tools/artifacts/_stage_all.ps1
99
shell: pwsh
1010
if: always()
1111

.github/dependabot.yml

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

.github/renovate.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended"
5+
],
6+
"semanticCommits": "disabled",
7+
"labels": ["dependencies"],
8+
"packageRules": [
9+
{
10+
"matchPackageNames": ["nbgv", "nerdbank.gitversioning"],
11+
"groupName": "nbgv and nerdbank.gitversioning updates"
12+
},
13+
{
14+
"matchPackageNames": ["xunit*"],
15+
"groupName": "xunit"
16+
},
17+
{
18+
"matchDatasources": ["dotnet-version", "docker"],
19+
"matchDepNames": ["dotnet-sdk", "mcr.microsoft.com/dotnet/sdk"],
20+
"groupName": "Dockerfile and global.json updates"
21+
}
22+
]
23+
}

.github/workflows/libtemplate-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: merge
2626
shell: pwsh
2727
run: |
28-
$LibTemplateBranch = & ./azure-pipelines/Get-LibTemplateBasis.ps1 -ErrorIfNotRelated
28+
$LibTemplateBranch = & ./tools/Get-LibTemplateBasis.ps1 -ErrorIfNotRelated
2929
if ($LASTEXITCODE -ne 0) {
3030
exit $LASTEXITCODE
3131
}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
release:
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2121
steps:
2222
- name: ⚙️ Initialization
2323
shell: pwsh

CONTRIBUTING.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,13 @@ via `[Fact(Skip = "Test does not pass yet")]` or similar message to keep our tes
9090
[VS]: https://www.visualstudio.com/downloads/
9191
[NodeJs]: https://nodejs.org
9292
[NodeJsTools]: https://www.visualstudio.com/vs/node-js/
93+
94+
## Updating dependencies
95+
96+
This repo uses Renovate to keep dependencies current.
97+
Configuration is in the `.github/renovate.json` file.
98+
[Learn more about configuring Renovate](https://docs.renovatebot.com/configuration-options/).
99+
100+
When changing the renovate.json file, follow [these validation steps](https://docs.renovatebot.com/config-validation/).
101+
102+
If Renovate is not creating pull requests when you expect it to, check that the [Renovate GitHub App](https://github.com/apps/renovate) is configured for your account or repo.

Directory.Packages.props

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,15 @@
1515
<PackageVersion Include="BenchmarkDotNet" Version="$(BenchmarkDotNetVersion)" />
1616
<PackageVersion Include="Cake.Core" Version="3.2.0" />
1717
<PackageVersion Include="DotNetMDDocs" Version="0.112.39" />
18-
<PackageVersion Include="LibGit2Sharp" Version="0.28.0" />
1918
<PackageVersion Include="LibGit2Sharp.NativeBinaries" Version="$(LibGit2SharpNativeVersion)" />
19+
<PackageVersion Include="LibGit2Sharp" Version="0.28.0" />
2020
<PackageVersion Include="Microsoft.Build.Framework" Version="$(MSBuildPackageVersion)" />
2121
<PackageVersion Include="Microsoft.Build.Locator" Version="1.7.8" />
2222
<PackageVersion Include="Microsoft.Build.Tasks.Core" Version="$(MSBuildPackageVersion)" />
2323
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="$(MSBuildPackageVersion)" />
2424
<PackageVersion Include="Microsoft.Build" Version="$(MSBuildPackageVersion)" />
2525
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" />
2626
<PackageVersion Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
27-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
2827
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.2.206-beta" />
2928
<PackageVersion Include="Nerdbank.GitVersioning.LKG" Version="3.4.173-alpha" />
3029
<PackageVersion Include="Newtonsoft.Json.Schema" Version="4.0.1" />
@@ -39,12 +38,17 @@
3938
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
4039
<PackageVersion Include="System.Threading.Tasks.Dataflow" Version="9.0.0" />
4140
<PackageVersion Include="Validation" Version="2.5.51" />
42-
<PackageVersion Include="Xunit.Combinatorial" Version="1.6.24" />
43-
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
44-
<PackageVersion Include="Xunit.SkippableFact" Version="1.5.23" />
45-
<PackageVersion Include="xunit" Version="2.9.2" />
41+
<PackageVersion Include="Xunit.Combinatorial" Version="2.0.5-alpha" />
42+
</ItemGroup>
43+
<ItemGroup Label="Library.Template">
44+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
45+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0" />
46+
<PackageVersion Include="xunit.v3" Version="1.0.0" />
4647
</ItemGroup>
4748
<ItemGroup>
49+
<!-- Put repo-specific GlobalPackageReference items in this group. -->
50+
</ItemGroup>
51+
<ItemGroup Label="Library.Template">
4852
<GlobalPackageReference Include="CSharpIsNullAnalyzer" Version="0.1.593" />
4953
<GlobalPackageReference Include="DotNetAnalyzers.DocumentationAnalyzers" Version="1.0.0-beta.59" />
5054
<GlobalPackageReference Include="PolySharp" Version="1.15.0" />

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ stages:
109109
clean: true
110110
submodules: true # keep the warnings quiet about the wiki not being enlisted
111111
- task: UseDotNet@2
112-
displayName: Install .NET 9.0.100 SDK
112+
displayName: Install .NET 9.0.101 SDK
113113
inputs:
114114
packageType: sdk
115-
version: 9.0.100
115+
version: 9.0.101
116116
- script: dotnet --info
117117
displayName: Show dotnet SDK info
118118
- bash: |

azure-pipelines/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- template: install-dependencies.yml
2424
- pwsh: |
2525
Invoke-WebRequest -Uri "https://dot.net/v1/dotnet-install.ps1" -OutFile dotnet-install.ps1
26-
& .\dotnet-install.ps1 -Architecture x86 -Version 9.0.100 -InstallDir "C:\Program Files (x86)\dotnet\" -NoPath -Verbose
26+
& .\dotnet-install.ps1 -Architecture x86 -Version 9.0.101 -InstallDir "C:\Program Files (x86)\dotnet\" -NoPath -Verbose
2727
displayName: ⚙ Install 32-bit .NET SDK and runtimes
2828
2929
- template: dotnet.yml

0 commit comments

Comments
 (0)