From 137fdaff9856d10e7abd194bb7328e8972b23af1 Mon Sep 17 00:00:00 2001 From: Chris Straw Date: Wed, 25 Feb 2026 12:39:18 -0500 Subject: [PATCH 1/2] nuget updates --- .github/dependabot.yml | 10 +++++++--- src/Directory.Build.props | 5 ++++- .../OLT.Extensions.Caching.Abstractions.csproj | 2 +- tests/Directory.Build.props | 7 +++---- .../OLT.Extensions.Caching.Tests.csproj | 8 ++++---- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0514a35..f3b1ea6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,9 @@ version: 2 updates: - package-ecosystem: "github-actions" - directory: "/" # Location of package manifests + directory: "/" schedule: - interval: "weekly" + interval: monthly labels: - "dependencies" - "github-actions" @@ -11,7 +11,11 @@ updates: - package-ecosystem: "nuget" directory: "/" schedule: - interval: "weekly" + interval: monthly + ignore: + - dependency-name: "*" + update-types: + - "version-update:semver-patch" labels: - "dependencies" - "nuget" diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 0b74213..6b0da69 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -22,7 +22,10 @@ - + + all + runtime; build; native; contentfiles; analyzers + diff --git a/src/OLT.Extensions.Caching.Abstractions/OLT.Extensions.Caching.Abstractions.csproj b/src/OLT.Extensions.Caching.Abstractions/OLT.Extensions.Caching.Abstractions.csproj index 8b695ac..54106d9 100644 --- a/src/OLT.Extensions.Caching.Abstractions/OLT.Extensions.Caching.Abstractions.csproj +++ b/src/OLT.Extensions.Caching.Abstractions/OLT.Extensions.Caching.Abstractions.csproj @@ -10,7 +10,7 @@ - + diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index a3494fa..f1caff9 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -9,15 +9,14 @@ - + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + - runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj b/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj index e434146..f3aff6b 100644 --- a/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj +++ b/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj @@ -6,10 +6,10 @@ - - - - + + + + From a5d9e25ec16de9a85fd74773f3d69b1c2ebb07e3 Mon Sep 17 00:00:00 2001 From: Chris Straw Date: Wed, 25 Feb 2026 12:49:53 -0500 Subject: [PATCH 2/2] xunit 3.x upgrade --- tests/Directory.Build.props | 8 ++++---- .../OLT.Extensions.Caching.Tests.csproj | 12 ++++++++++++ .../OltHybridCacheTests.cs | 8 +++++--- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/tests/Directory.Build.props b/tests/Directory.Build.props index f1caff9..386bff6 100644 --- a/tests/Directory.Build.props +++ b/tests/Directory.Build.props @@ -8,7 +8,7 @@ false - + $(NoWarn);SYSLIB0011 diff --git a/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj b/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj index f3aff6b..7cc7f03 100644 --- a/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj +++ b/tests/OLT.Extensions.Caching.Tests/OLT.Extensions.Caching.Tests.csproj @@ -12,6 +12,18 @@ + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + diff --git a/tests/OLT.Extensions.Caching.Tests/OltHybridCacheTests.cs b/tests/OLT.Extensions.Caching.Tests/OltHybridCacheTests.cs index 6f9c85c..e0002e8 100644 --- a/tests/OLT.Extensions.Caching.Tests/OltHybridCacheTests.cs +++ b/tests/OLT.Extensions.Caching.Tests/OltHybridCacheTests.cs @@ -14,15 +14,16 @@ public class OltHybridCacheTests : IAsyncLifetime public OltHybridCacheTests() { - _redisContainer = new RedisBuilder().Build(); + _redisContainer = new RedisBuilder("redis:8.0").Build(); } - public async Task InitializeAsync() + + public async ValueTask InitializeAsync() { await _redisContainer.StartAsync(); } - public async Task DisposeAsync() + public async ValueTask DisposeAsync() { await _redisContainer.StopAsync(); } @@ -616,6 +617,7 @@ await cache.GetOrSetAsync("testKey", (sp, ctx) => Assert.NotEqual(default, capturedToken); } + private class TestScopedService { public string GetValue() => "ScopedValue";