From bfd5c4c654d34c846fec93b6b222e5ed9e368d44 Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Thu, 16 Apr 2026 14:52:56 -0400 Subject: [PATCH 1/2] feat(deps): add .NET 11 target support --- .github/workflows/build.yaml | 5 ++--- .github/workflows/pr-build.yaml | 4 ++-- Directory.Build.props | 2 +- Directory.Packages.props | 8 ++++---- src/LayeredCraft.Logging.CompactJsonFormatter.csproj | 2 +- ...LayeredCraft.Logging.CompactJsonFormatter.Tests.csproj | 2 +- 6 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3160c0f..3caf506 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 38146ef..fd69425 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -7,17 +7,17 @@ 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.Logging.CompactJsonFormatter.slnx hasTests: true useMtpRunner: true - testDirectory: "test" enableCodeCoverage: true coverageThreshold: 80 dotnetVersion: | 8.0.x 9.0.x 10.0.x + 11.0.x runCdk: false secrets: inherit \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index 40ada4e..d682676 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 1.0.4 + 1.1.0 MIT diff --git a/Directory.Packages.props b/Directory.Packages.props index 0f7569d..50a7258 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,12 +6,12 @@ - + - - - + + + diff --git a/src/LayeredCraft.Logging.CompactJsonFormatter.csproj b/src/LayeredCraft.Logging.CompactJsonFormatter.csproj index 4307279..55725c6 100644 --- a/src/LayeredCraft.Logging.CompactJsonFormatter.csproj +++ b/src/LayeredCraft.Logging.CompactJsonFormatter.csproj @@ -1,7 +1,7 @@ - net8.0;net9.0;net10.0 + net8.0;net9.0;net10.0;net11.0 latest enable enable diff --git a/test/LayeredCraft.Logging.CompactJsonFormatter.Tests.csproj b/test/LayeredCraft.Logging.CompactJsonFormatter.Tests.csproj index 9c5b379..9986b8e 100644 --- a/test/LayeredCraft.Logging.CompactJsonFormatter.Tests.csproj +++ b/test/LayeredCraft.Logging.CompactJsonFormatter.Tests.csproj @@ -1,7 +1,7 @@ - net8.0;net9.0;net10.0 + net8.0;net9.0;net10.0;net11.0 latest enable enable From 9e68f99f431862ac531d2bd489a4de988f9db000 Mon Sep 17 00:00:00 2001 From: Nick Cipollina Date: Thu, 16 Apr 2026 14:56:54 -0400 Subject: [PATCH 2/2] build(build): add global.json to solution items --- LayeredCraft.Logging.CompactJsonFormatter.slnx | 1 + global.json | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 global.json diff --git a/LayeredCraft.Logging.CompactJsonFormatter.slnx b/LayeredCraft.Logging.CompactJsonFormatter.slnx index 37c292e..c2ae0b8 100644 --- a/LayeredCraft.Logging.CompactJsonFormatter.slnx +++ b/LayeredCraft.Logging.CompactJsonFormatter.slnx @@ -9,6 +9,7 @@ + diff --git a/global.json b/global.json new file mode 100644 index 0000000..3140116 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +}