Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ on:
permissions: write-all
jobs:
build:
uses: LayeredCraft/devops-templates/.github/workflows/package-build.yaml@v6.2
uses: LayeredCraft/devops-templates/.github/workflows/package-build.yaml@v7.6
with:
hasTests: true
useMtpRunner: true
testDirectory: "test"
dotnet-version: |
8.0.x
9.0.x
10.0.x
11.0.x
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:
permissions: write-all
jobs:
build:
uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v6.2
uses: LayeredCraft/devops-templates/.github/workflows/pr-build.yaml@v7.6
with:
solution: LayeredCraft.StructuredLogging.sln
useMtpRunner: true
solution: LayeredCraft.StructuredLogging.slnx
hasTests: true
dotnetVersion: |
8.0.x
Comment thread
ncipollina marked this conversation as resolved.
9.0.x
10.0.x
11.0.x
runCdk: false
secrets: inherit
11 changes: 7 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.13" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.15" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.3" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.6" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net11.0'">
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="11.0.0-preview.3.26207.106" />
</ItemGroup>
<ItemGroup Label="GitHub">
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.103" PrivateAssets="All" />
Expand All @@ -18,8 +21,8 @@
<PackageVersion Include="AutoFixture" Version="4.18.1" />
<PackageVersion Include="AutoFixture.AutoNSubstitute" Version="4.18.1" />
<PackageVersion Include="AutoFixture.Xunit3" Version="4.19.0" />
<PackageVersion Include="AwesomeAssertions" Version="9.3.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageVersion Include="AwesomeAssertions" Version="9.4.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.4.0" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
51 changes: 0 additions & 51 deletions LayeredCraft.StructuredLogging.sln

This file was deleted.

20 changes: 20 additions & 0 deletions LayeredCraft.StructuredLogging.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Solution>
<Folder Name="/git/">
<File Path=".github/dependabot.yml" />
<File Path=".github/workflows/build.yaml" />
<File Path=".github/workflows/pr-build.yaml" />
<File Path=".gitignore" />
</Folder>
<Folder Name="/Solution Items/">
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
<File Path="global.json" />
<File Path="README.md" />
</Folder>
<Folder Name="/src/">
<Project Path="src/LayeredCraft.StructuredLogging/LayeredCraft.StructuredLogging.csproj" />
</Folder>
<Folder Name="/test/">
<Project Path="test/LayeredCraft.StructuredLogging.Tests/LayeredCraft.StructuredLogging.Tests.csproj" />
</Folder>
</Solution>
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"test": {
"runner": "Microsoft.Testing.Platform"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TargetFrameworks>net8.0;net9.0;netstandard2.1;netstandard2.0;net10.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;netstandard2.1;netstandard2.0;net10.0;net11.0</TargetFrameworks>
<LangVersion>default</LangVersion>

<!-- Package metadata -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
<LangVersion>default</LangVersion>
<!--
To enable the Microsoft Testing Platform 'dotnet test' experience, add property:
Expand Down
Loading