From 2fb14770d783bc2cc2e0dd0387605f0f881141f7 Mon Sep 17 00:00:00 2001 From: Cristian Pufu Date: Sat, 30 Sep 2023 11:11:48 +0300 Subject: [PATCH] Add net8 target framework --- .github/workflows/build.yml | 4 +-- .../RedisRateLimiting.AspNetCore.csproj | 6 ++--- .../RedisRateLimiting.csproj | 15 ++++++++--- ...RedisRateLimiting.Sample.AspNetCore.csproj | 7 +++-- .../RedisRateLimiting.Tests.csproj | 26 +++++++------------ 5 files changed, 28 insertions(+), 30 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 945cdf5..794626b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,10 +37,10 @@ jobs: run: | New-Item -Path .\.sonar\scanner -ItemType Directory dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner - - name: Setup .NET Core @ Latest + - name: Setup .NET 8 uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.100-rc.1.23463.5' - name: Build and analyze env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any diff --git a/src/RedisRateLimiting.AspNetCore/RedisRateLimiting.AspNetCore.csproj b/src/RedisRateLimiting.AspNetCore/RedisRateLimiting.AspNetCore.csproj index 377a5c6..c0691b8 100644 --- a/src/RedisRateLimiting.AspNetCore/RedisRateLimiting.AspNetCore.csproj +++ b/src/RedisRateLimiting.AspNetCore/RedisRateLimiting.AspNetCore.csproj @@ -1,14 +1,14 @@  Library - net7.0 + net7.0;net8.0 enable RedisRateLimiting.AspNetCore - AspNetCore Redis extension for .NET 7.0 rate limiting + AspNetCore Redis extension for rate limiting Cristi Pufu RedisRateLimiting.AspNetCore RedisRateLimiting.AspNetCore - redis;rate-limit;rate-limiting;rate-limiter;aspnetcore;net7 + redis;rate-limit;rate-limiting;rate-limiter;aspnetcore;net7;net8 https://github.com/cristipufu/aspnetcore-redis-rate-limiting MIT git diff --git a/src/RedisRateLimiting/RedisRateLimiting.csproj b/src/RedisRateLimiting/RedisRateLimiting.csproj index 4d3597f..20ee481 100644 --- a/src/RedisRateLimiting/RedisRateLimiting.csproj +++ b/src/RedisRateLimiting/RedisRateLimiting.csproj @@ -2,14 +2,14 @@ Library - net7.0 + net7.0;net8.0 enable RedisRateLimiting - Redis extensions for .NET 7.0 rate limiting + Redis extensions for rate limiting Cristi Pufu RedisRateLimiting RedisRateLimiting - redis;rate-limit;rate-limiting;rate-limiter;aspnetcore;net7 + redis;rate-limit;rate-limiting;rate-limiter;aspnetcore;net7;net8 https://github.com/cristipufu/aspnetcore-redis-rate-limiting MIT git @@ -25,8 +25,15 @@ - + + + + + + + + diff --git a/test/RedisRateLimiting.Sample.AspNetCore/RedisRateLimiting.Sample.AspNetCore.csproj b/test/RedisRateLimiting.Sample.AspNetCore/RedisRateLimiting.Sample.AspNetCore.csproj index 6d5d18d..f40bb8d 100644 --- a/test/RedisRateLimiting.Sample.AspNetCore/RedisRateLimiting.Sample.AspNetCore.csproj +++ b/test/RedisRateLimiting.Sample.AspNetCore/RedisRateLimiting.Sample.AspNetCore.csproj @@ -1,18 +1,17 @@ - net7.0 + net8.0 enable enable - - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/test/RedisRateLimiting.Tests/RedisRateLimiting.Tests.csproj b/test/RedisRateLimiting.Tests/RedisRateLimiting.Tests.csproj index 578378d..97d73b5 100644 --- a/test/RedisRateLimiting.Tests/RedisRateLimiting.Tests.csproj +++ b/test/RedisRateLimiting.Tests/RedisRateLimiting.Tests.csproj @@ -1,26 +1,18 @@ - + - net7.0 + net8.0 enable - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + +