From a1922c032fc0095f8b4831fdc88e2037acac18fc Mon Sep 17 00:00:00 2001 From: AoshiW Date: Sun, 19 Oct 2025 23:25:15 +0200 Subject: [PATCH 1/2] .NET 10 --- .github/workflows/check-buildstatus.yml | 6 +++--- .github/workflows/preview-release.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- .../TwitchLib.EventSub.Webhooks.Example.csproj | 2 +- .../TwitchLib.EventSub.Webhooks.Test.csproj | 13 ++++++++----- .../Core/Models/WebhookEventSubMetadata.cs | 16 ++++++++-------- .../EventSubNotificationMiddleware.cs | 4 ++-- .../EventSubSignatureVerificationMiddleware.cs | 4 ++-- .../TwitchLib.EventSub.Webhooks.csproj | 4 ++-- 9 files changed, 32 insertions(+), 29 deletions(-) diff --git a/.github/workflows/check-buildstatus.yml b/.github/workflows/check-buildstatus.yml index 2093d4c..620f01f 100644 --- a/.github/workflows/check-buildstatus.yml +++ b/.github/workflows/check-buildstatus.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build TwitchLib.EventSub.Webhooks diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index db61d21..7543106 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: benjlevesque/short-sha@v3.0 id: short-sha - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build TwitchLib.EventSub.Webhooks diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3261754..d986bfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore - name: Build TwitchLib.EventSub.Webhooks diff --git a/TwitchLib.EventSub.Webhooks.Example/TwitchLib.EventSub.Webhooks.Example.csproj b/TwitchLib.EventSub.Webhooks.Example/TwitchLib.EventSub.Webhooks.Example.csproj index b9b47ba..d61617f 100644 --- a/TwitchLib.EventSub.Webhooks.Example/TwitchLib.EventSub.Webhooks.Example.csproj +++ b/TwitchLib.EventSub.Webhooks.Example/TwitchLib.EventSub.Webhooks.Example.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable diff --git a/TwitchLib.EventSub.Webhooks.Test/TwitchLib.EventSub.Webhooks.Test.csproj b/TwitchLib.EventSub.Webhooks.Test/TwitchLib.EventSub.Webhooks.Test.csproj index 739e615..70d6b15 100644 --- a/TwitchLib.EventSub.Webhooks.Test/TwitchLib.EventSub.Webhooks.Test.csproj +++ b/TwitchLib.EventSub.Webhooks.Test/TwitchLib.EventSub.Webhooks.Test.csproj @@ -5,7 +5,7 @@ enable Exe TwitchLib.EventSub.Webhooks.Test - net8.0 + net8.0;net9.0;net10.0