From 053989c7b507ca1ad74dba86a2936692b8741d8f Mon Sep 17 00:00:00 2001
From: Leon Spors <15744333+LeonSpors@users.noreply.github.com>
Date: Wed, 22 Nov 2023 13:45:12 +0100
Subject: [PATCH 1/6] Add .NET 8 target
---
Directory.Build.props | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Directory.Build.props b/Directory.Build.props
index 1e28886..8137619 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -4,6 +4,7 @@
6.0.0
7.0.0
+ 8.0.0
-
\ No newline at end of file
+
From 72f98c56b9f41f79689f3e7b02b86507e711c820 Mon Sep 17 00:00:00 2001
From: Leon Spors <15744333+LeonSpors@users.noreply.github.com>
Date: Wed, 22 Nov 2023 13:46:57 +0100
Subject: [PATCH 2/6] Add .NET 8 target
---
src/Blazored.LocalStorage/Blazored.LocalStorage.csproj | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/Blazored.LocalStorage/Blazored.LocalStorage.csproj b/src/Blazored.LocalStorage/Blazored.LocalStorage.csproj
index 2724322..8039f2e 100644
--- a/src/Blazored.LocalStorage/Blazored.LocalStorage.csproj
+++ b/src/Blazored.LocalStorage/Blazored.LocalStorage.csproj
@@ -1,7 +1,7 @@
- net6.0;net7.0
+ net6.0;net7.0;net8.0
Chris Sainty
Chris Sainty
@@ -38,6 +38,10 @@
+
+
+
+
@@ -58,4 +62,4 @@
-
\ No newline at end of file
+
From dae5c818637d2fb780b80f9eb7d7ae3c9bc49cb2 Mon Sep 17 00:00:00 2001
From: Leon Spors <15744333+LeonSpors@users.noreply.github.com>
Date: Wed, 22 Nov 2023 13:51:31 +0100
Subject: [PATCH 3/6] Add .NET 8 target
---
.github/workflows/ci-pr.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml
index ac76c7f..4eabd8c 100644
--- a/.github/workflows/ci-pr.yml
+++ b/.github/workflows/ci-pr.yml
@@ -5,7 +5,7 @@ on:
branches: [ main ]
env:
- NETCORE_VERSION: '7.0.100'
+ NETCORE_VERSION: '8.0.0'
PROJECT_NAME: Blazored.LocalStorage
jobs:
@@ -30,4 +30,4 @@ jobs:
run: dotnet build -c Release --no-restore src/$PROJECT_NAME.TestExtensions/$PROJECT_NAME.TestExtensions.csproj
- name: Testing...
- run: dotnet test -c Release --no-restore --verbosity normal tests/$PROJECT_NAME.Tests
\ No newline at end of file
+ run: dotnet test -c Release --no-restore --verbosity normal tests/$PROJECT_NAME.Tests
From 4b6dfbdc45f5df1959de18b60cbdf0eb6cd6fbf5 Mon Sep 17 00:00:00 2001
From: Leon Spors <15744333+LeonSpors@users.noreply.github.com>
Date: Wed, 22 Nov 2023 13:57:38 +0100
Subject: [PATCH 4/6] Update ci-pr.yml
---
.github/workflows/ci-pr.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml
index 4eabd8c..6685dbf 100644
--- a/.github/workflows/ci-pr.yml
+++ b/.github/workflows/ci-pr.yml
@@ -5,7 +5,7 @@ on:
branches: [ main ]
env:
- NETCORE_VERSION: '8.0.0'
+ NETCORE_VERSION: '8.0.100'
PROJECT_NAME: Blazored.LocalStorage
jobs:
From 93f657719ddefabd66703576fb3e939d8d462edd Mon Sep 17 00:00:00 2001
From: Leon Spors <15744333+LeonSpors@users.noreply.github.com>
Date: Wed, 22 Nov 2023 14:01:51 +0100
Subject: [PATCH 5/6] Upgrade target framework to .NET 8
---
.../Blazored.LocalStorage.Tests.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/Blazored.LocalStorage.Tests/Blazored.LocalStorage.Tests.csproj b/tests/Blazored.LocalStorage.Tests/Blazored.LocalStorage.Tests.csproj
index a35e393..2345c02 100644
--- a/tests/Blazored.LocalStorage.Tests/Blazored.LocalStorage.Tests.csproj
+++ b/tests/Blazored.LocalStorage.Tests/Blazored.LocalStorage.Tests.csproj
@@ -1,7 +1,7 @@
- net7.0
+ net8.0
false
@@ -14,7 +14,7 @@
-
+
all
From 78ca15b2c6b1cdbf4cb57bd0177f0873b4586552 Mon Sep 17 00:00:00 2001
From: Leon Spors <15744333+LeonSpors@users.noreply.github.com>
Date: Wed, 22 Nov 2023 14:07:35 +0100
Subject: [PATCH 6/6] Update codeql-analysis.yml
Upgrade CodeQL to v2 and set target framework to .NET 8
---
.github/workflows/codeql-analysis.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 5e2c921..6f98992 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -43,7 +43,7 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v1
+ uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
- uses: actions/setup-dotnet@v1
with:
- dotnet-version: '7.0.100'
+ dotnet-version: '8.0.100'
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
@@ -72,4 +72,4 @@ jobs:
# make release
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v1
+ uses: github/codeql-action/analyze@v2