You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2022/11/21 08:53:24 UTC

[lucenenet] 04/08: .github/workflows/Generate-TestWorkflows.ps1: Replaced net6.0 tests with net7.0 tests

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 34c79d72b7dc7f4e4a26e13c7bc145f60f5977aa
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Nov 19 15:30:20 2022 +0700

    .github/workflows/Generate-TestWorkflows.ps1: Replaced net6.0 tests with net7.0 tests
---
 .github/workflows/Generate-TestWorkflows.ps1       | 23 +++++++++++++++++-----
 .github/workflows/Lucene-Net-Tests-AllProjects.yml | 10 ++++++++--
 .../workflows/Lucene-Net-Tests-Analysis-Common.yml | 10 ++++++++--
 .../Lucene-Net-Tests-Analysis-Kuromoji.yml         | 10 ++++++++--
 .../Lucene-Net-Tests-Analysis-Morfologik.yml       | 10 ++++++++--
 .../Lucene-Net-Tests-Analysis-OpenNLP.yml          |  8 +++++++-
 .../Lucene-Net-Tests-Analysis-Phonetic.yml         | 10 ++++++++--
 .../Lucene-Net-Tests-Analysis-SmartCn.yml          | 10 ++++++++--
 .../Lucene-Net-Tests-Analysis-Stempel.yml          | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Benchmark.yml   | 10 ++++++++--
 .../workflows/Lucene-Net-Tests-Classification.yml  | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Cli.yml         | 10 ++++++++--
 .../workflows/Lucene-Net-Tests-CodeAnalysis.yml    |  8 +++++++-
 .github/workflows/Lucene-Net-Tests-Codecs.yml      | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Demo.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Expressions.yml | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Facet.yml       | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Grouping.yml    | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Highlighter.yml | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-ICU.yml         | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Join.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Memory.yml      | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Misc.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Queries.yml     | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-QueryParser.yml | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Replicator.yml  | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Sandbox.yml     | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Spatial.yml     | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-Suggest.yml     | 10 ++++++++--
 ...Net-Tests-TestFramework-DependencyInjection.yml | 10 ++++++++--
 .../workflows/Lucene-Net-Tests-TestFramework.yml   | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-_A-D.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-_E-I.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-_I-J.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-_J-S.yml        | 10 ++++++++--
 .github/workflows/Lucene-Net-Tests-_T-Z.yml        | 10 ++++++++--
 36 files changed, 296 insertions(+), 73 deletions(-)

diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1
index ab82874fe..a9d85dafc 100644
--- a/.github/workflows/Generate-TestWorkflows.ps1
+++ b/.github/workflows/Generate-TestWorkflows.ps1
@@ -51,9 +51,13 @@
  .PARAMETER Configurations
     A string array of build configurations to run the tests on. The default is @('Release').
 
+ .PARAMETER DotNet7SDKVersion
+    The SDK version of .NET 7.x to install on the build agent to be used for building and
+    testing. This SDK is always installed on the build agent. The default is 7.0.100.
+
  .PARAMETER DotNet6SDKVersion
     The SDK version of .NET 6.x to install on the build agent to be used for building and
-    testing. This SDK is always installed on the build agent. The default is 6.0.100.
+    testing. This SDK is always installed on the build agent. The default is 6.0.403.
 
  .PARAMETER DotNet5SDKVersion
     The SDK version of .NET 5.x to install on the build agent to be used for building and
@@ -64,7 +68,7 @@ param(
 
     [string]$RepoRoot = (Split-Path (Split-Path $PSScriptRoot)),
 
-    [string[]]$TestFrameworks = @('net6.0', 'net5.0','net461','net48'), # targets under test: net6.0, netstandard2.1, netstanard2.0, net462
+    [string[]]$TestFrameworks = @('net7.0', 'net5.0','net461','net48'), # targets under test: net6.0, netstandard2.1, netstanard2.0, net462
 
     [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest'),
 
@@ -72,7 +76,9 @@ param(
 
     [string[]]$Configurations = @('Release'),
 
-    [string]$DotNet6SDKVersion = '6.0.100',
+    [string]$DotNet7SDKVersion = '7.0.100',
+
+    [string]$DotNet6SDKVersion = '6.0.403',
 
     [string]$DotNet5SDKVersion = '5.0.400'
 )
@@ -154,6 +160,7 @@ function Write-TestWorkflow(
     [string[]]$TestFrameworks = @('net5.0', 'net48'),
     [string[]]$TestPlatforms = @('x64'),
     [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest', 'macos-latest'),
+    [string]$DotNet7SDKVersion = $DotNet7SDKVersion,
     [string]$DotNet6SDKVersion = $DotNet6SDKVersion,
     [string]$DotNet5SDKVersion = $DotNet5SDKVersion) {
 
@@ -285,6 +292,12 @@ jobs:
         uses: actions/setup-dotnet@v1
         with:
           dotnet-version: '$DotNet6SDKVersion'
+        if: `${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '$DotNet7SDKVersion'
 
       - name: Setup Environment Variables
         run: |
@@ -343,7 +356,7 @@ try {
     Pop-Location
 }
 
-#Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $projectPath -RelativeRoot $repoRoot -TestFrameworks @('net5.0') -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion
+#Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $projectPath -RelativeRoot $repoRoot -TestFrameworks @('net5.0') -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet7SDKVersion $DotNet7SDKVersion -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion
 
 #Write-Host $TestProjects
 
@@ -370,5 +383,5 @@ foreach ($testProject in $TestProjects) {
     Write-Host "Frameworks To Test for ${projectName}: $($frameworks -join ';')" -ForegroundColor Cyan
 
     #Write-Host "Project: $projectName"
-    Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $testProject -RelativeRoot $RepoRoot -TestFrameworks $frameworks -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion
+    Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath $testProject -RelativeRoot $RepoRoot -TestFrameworks $frameworks -OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms -Configurations $Configurations -DotNet7SDKVersion $DotNet7SDKVersion -DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion
 }
\ No newline at end of file
diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml b/.github/workflows/Lucene-Net-Tests-AllProjects.yml
index 158455174..23930d7b0 100644
--- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml
+++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml
@@ -72,7 +72,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -109,7 +109,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
index f0fcb1f1c..c7eeadb67 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
@@ -56,7 +56,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -93,7 +93,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
index c84450e6b..a75a80b6a 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
@@ -53,7 +53,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -90,7 +90,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
index 726048b05..208fec8c1 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
@@ -53,7 +53,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -90,7 +90,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
index 6f4e8a77b..8fe22833e 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
@@ -93,7 +93,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
index e3b02f0d5..ccf80b7df 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
@@ -50,7 +50,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -87,7 +87,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
index a7750551d..658d4ca56 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
@@ -54,7 +54,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -91,7 +91,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
index 4d96106fe..d73ad084a 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
@@ -51,7 +51,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -88,7 +88,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml b/.github/workflows/Lucene-Net-Tests-Benchmark.yml
index 8cf8447f4..1b2e1f2e2 100644
--- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml
+++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml
@@ -63,7 +63,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -100,7 +100,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml b/.github/workflows/Lucene-Net-Tests-Classification.yml
index 10e171f69..52d4c7a01 100644
--- a/.github/workflows/Lucene-Net-Tests-Classification.yml
+++ b/.github/workflows/Lucene-Net-Tests-Classification.yml
@@ -51,7 +51,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -88,7 +88,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml b/.github/workflows/Lucene-Net-Tests-Cli.yml
index 8c2af0c5b..7aa11d12e 100644
--- a/.github/workflows/Lucene-Net-Tests-Cli.yml
+++ b/.github/workflows/Lucene-Net-Tests-Cli.yml
@@ -70,7 +70,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0]
+        framework: [net7.0]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -108,7 +108,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
index 259464bed..6ba3df6b8 100644
--- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
+++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
@@ -86,7 +86,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml b/.github/workflows/Lucene-Net-Tests-Codecs.yml
index 5ba1bc150..47d06faac 100644
--- a/.github/workflows/Lucene-Net-Tests-Codecs.yml
+++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml
@@ -49,7 +49,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -86,7 +86,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml b/.github/workflows/Lucene-Net-Tests-Demo.yml
index 72b7f409d..88af12d1c 100644
--- a/.github/workflows/Lucene-Net-Tests-Demo.yml
+++ b/.github/workflows/Lucene-Net-Tests-Demo.yml
@@ -58,7 +58,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -95,7 +95,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml b/.github/workflows/Lucene-Net-Tests-Expressions.yml
index 258222ad8..a24fbade0 100644
--- a/.github/workflows/Lucene-Net-Tests-Expressions.yml
+++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml
@@ -51,7 +51,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -88,7 +88,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml b/.github/workflows/Lucene-Net-Tests-Facet.yml
index 96aa2172e..b954a7d5f 100644
--- a/.github/workflows/Lucene-Net-Tests-Facet.yml
+++ b/.github/workflows/Lucene-Net-Tests-Facet.yml
@@ -53,7 +53,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -90,7 +90,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml b/.github/workflows/Lucene-Net-Tests-Grouping.yml
index e1d9fd647..c6af86770 100644
--- a/.github/workflows/Lucene-Net-Tests-Grouping.yml
+++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml
@@ -51,7 +51,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -88,7 +88,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml b/.github/workflows/Lucene-Net-Tests-Highlighter.yml
index 83c847fd9..5dae90a0b 100644
--- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml
+++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml
@@ -53,7 +53,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -90,7 +90,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml b/.github/workflows/Lucene-Net-Tests-ICU.yml
index e8935c667..032170fcf 100644
--- a/.github/workflows/Lucene-Net-Tests-ICU.yml
+++ b/.github/workflows/Lucene-Net-Tests-ICU.yml
@@ -66,7 +66,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -103,7 +103,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml b/.github/workflows/Lucene-Net-Tests-Join.yml
index 99f549da2..a34f389e0 100644
--- a/.github/workflows/Lucene-Net-Tests-Join.yml
+++ b/.github/workflows/Lucene-Net-Tests-Join.yml
@@ -52,7 +52,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -89,7 +89,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml b/.github/workflows/Lucene-Net-Tests-Memory.yml
index a0af7cd8a..935019bf0 100644
--- a/.github/workflows/Lucene-Net-Tests-Memory.yml
+++ b/.github/workflows/Lucene-Net-Tests-Memory.yml
@@ -54,7 +54,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -91,7 +91,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml b/.github/workflows/Lucene-Net-Tests-Misc.yml
index d72c08d24..b6c6451c5 100644
--- a/.github/workflows/Lucene-Net-Tests-Misc.yml
+++ b/.github/workflows/Lucene-Net-Tests-Misc.yml
@@ -50,7 +50,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -87,7 +87,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml b/.github/workflows/Lucene-Net-Tests-Queries.yml
index 81033d4fd..c3290e688 100644
--- a/.github/workflows/Lucene-Net-Tests-Queries.yml
+++ b/.github/workflows/Lucene-Net-Tests-Queries.yml
@@ -50,7 +50,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -87,7 +87,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml b/.github/workflows/Lucene-Net-Tests-QueryParser.yml
index 8f906e85e..a0e9ba2ca 100644
--- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml
+++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml
@@ -56,7 +56,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -93,7 +93,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml b/.github/workflows/Lucene-Net-Tests-Replicator.yml
index e30d33c3f..cb3a23a31 100644
--- a/.github/workflows/Lucene-Net-Tests-Replicator.yml
+++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml
@@ -55,7 +55,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -92,7 +92,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml b/.github/workflows/Lucene-Net-Tests-Sandbox.yml
index bbb06552b..d5807e7f9 100644
--- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml
+++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml
@@ -51,7 +51,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -88,7 +88,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml b/.github/workflows/Lucene-Net-Tests-Spatial.yml
index 8a23f3099..7fda930e6 100644
--- a/.github/workflows/Lucene-Net-Tests-Spatial.yml
+++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml
@@ -52,7 +52,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -89,7 +89,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml b/.github/workflows/Lucene-Net-Tests-Suggest.yml
index 19de69925..c9277f1b0 100644
--- a/.github/workflows/Lucene-Net-Tests-Suggest.yml
+++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml
@@ -53,7 +53,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -90,7 +90,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
index b8578d4e9..8665f7d8d 100644
--- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
+++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
@@ -49,7 +49,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -86,7 +86,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml b/.github/workflows/Lucene-Net-Tests-TestFramework.yml
index 2ca385f43..7bfe1f5a4 100644
--- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml
+++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml
@@ -51,7 +51,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -88,7 +88,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-_A-D.yml
index bc14cd5c1..cf7d47edc 100644
--- a/.github/workflows/Lucene-Net-Tests-_A-D.yml
+++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml
@@ -60,7 +60,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -97,7 +97,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-_E-I.yml
index f58e238d8..54107b12b 100644
--- a/.github/workflows/Lucene-Net-Tests-_E-I.yml
+++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml
@@ -70,7 +70,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -107,7 +107,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-_I-J.yml
index 01110698e..ce8eadaa8 100644
--- a/.github/workflows/Lucene-Net-Tests-_I-J.yml
+++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml
@@ -75,7 +75,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -112,7 +112,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-_J-S.yml
index 2ea4904c3..2ffaa89eb 100644
--- a/.github/workflows/Lucene-Net-Tests-_J-S.yml
+++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml
@@ -62,7 +62,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -99,7 +99,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |
diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-_T-Z.yml
index b33b0058e..12051f52d 100644
--- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml
+++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml
@@ -57,7 +57,7 @@ jobs:
       fail-fast: false
       matrix:
         os: [windows-latest, ubuntu-latest]
-        framework: [net6.0, net5.0, net48, net461]
+        framework: [net7.0, net5.0, net48, net461]
         platform: [x64]
         configuration: [Release]
         exclude:
@@ -94,7 +94,13 @@ jobs:
       - name: Setup .NET 6 SDK
         uses: actions/setup-dotnet@v1
         with:
-          dotnet-version: '6.0.100'
+          dotnet-version: '6.0.403'
+        if: ${{ startswith(matrix.framework, 'net6.') }}
+
+      - name: Setup .NET 7 SDK
+        uses: actions/setup-dotnet@v1
+        with:
+          dotnet-version: '7.0.100'
 
       - name: Setup Environment Variables
         run: |