Skip to content

Commit b5a229c

Browse files
committed
Regenerated test workflows
1 parent 069193c commit b5a229c

36 files changed

Lines changed: 432 additions & 36 deletions

.github/workflows/Lucene-Net-Tests-AllProjects.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,18 @@ jobs:
113113
with:
114114
dotnet-version: '9.0.x'
115115

116-
- name: Restore dependencies
116+
- name: Cache NuGet Packages
117+
uses: actions/cache@v4
118+
with:
119+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
120+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
121+
# '**/*.targets' includes Directory.Build.targets
122+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
123+
# 'global.json' included for SDK version changes
124+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
125+
path: ${{ env.NUGET_PACKAGES }}
126+
127+
- name: Restore
117128
run: dotnet restore /p:TestFrameworks=true
118129

119130
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-Common.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,18 @@ jobs:
9797
with:
9898
dotnet-version: '9.0.x'
9999

100-
- name: Restore dependencies
100+
- name: Cache NuGet Packages
101+
uses: actions/cache@v4
102+
with:
103+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
104+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
105+
# '**/*.targets' includes Directory.Build.targets
106+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
107+
# 'global.json' included for SDK version changes
108+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
109+
path: ${{ env.NUGET_PACKAGES }}
110+
111+
- name: Restore
101112
run: dotnet restore /p:TestFrameworks=true
102113

103114
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,18 @@ jobs:
9494
with:
9595
dotnet-version: '9.0.x'
9696

97-
- name: Restore dependencies
97+
- name: Cache NuGet Packages
98+
uses: actions/cache@v4
99+
with:
100+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
101+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
102+
# '**/*.targets' includes Directory.Build.targets
103+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
104+
# 'global.json' included for SDK version changes
105+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
106+
path: ${{ env.NUGET_PACKAGES }}
107+
108+
- name: Restore
98109
run: dotnet restore /p:TestFrameworks=true
99110

100111
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,18 @@ jobs:
9494
with:
9595
dotnet-version: '9.0.x'
9696

97-
- name: Restore dependencies
97+
- name: Cache NuGet Packages
98+
uses: actions/cache@v4
99+
with:
100+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
101+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
102+
# '**/*.targets' includes Directory.Build.targets
103+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
104+
# 'global.json' included for SDK version changes
105+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
106+
path: ${{ env.NUGET_PACKAGES }}
107+
108+
- name: Restore
98109
run: dotnet restore /p:TestFrameworks=true
99110

100111
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,18 @@ jobs:
9797
with:
9898
dotnet-version: '9.0.x'
9999

100-
- name: Restore dependencies
100+
- name: Cache NuGet Packages
101+
uses: actions/cache@v4
102+
with:
103+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
104+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
105+
# '**/*.targets' includes Directory.Build.targets
106+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
107+
# 'global.json' included for SDK version changes
108+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
109+
path: ${{ env.NUGET_PACKAGES }}
110+
111+
- name: Restore
101112
run: dotnet restore /p:TestFrameworks=true
102113

103114
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,18 @@ jobs:
9191
with:
9292
dotnet-version: '9.0.x'
9393

94-
- name: Restore dependencies
94+
- name: Cache NuGet Packages
95+
uses: actions/cache@v4
96+
with:
97+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
98+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
99+
# '**/*.targets' includes Directory.Build.targets
100+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
101+
# 'global.json' included for SDK version changes
102+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
103+
path: ${{ env.NUGET_PACKAGES }}
104+
105+
- name: Restore
95106
run: dotnet restore /p:TestFrameworks=true
96107

97108
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,18 @@ jobs:
9595
with:
9696
dotnet-version: '9.0.x'
9797

98-
- name: Restore dependencies
98+
- name: Cache NuGet Packages
99+
uses: actions/cache@v4
100+
with:
101+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
102+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
103+
# '**/*.targets' includes Directory.Build.targets
104+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
105+
# 'global.json' included for SDK version changes
106+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
107+
path: ${{ env.NUGET_PACKAGES }}
108+
109+
- name: Restore
99110
run: dotnet restore /p:TestFrameworks=true
100111

101112
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,18 @@ jobs:
9292
with:
9393
dotnet-version: '9.0.x'
9494

95-
- name: Restore dependencies
95+
- name: Cache NuGet Packages
96+
uses: actions/cache@v4
97+
with:
98+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
99+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
100+
# '**/*.targets' includes Directory.Build.targets
101+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
102+
# 'global.json' included for SDK version changes
103+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
104+
path: ${{ env.NUGET_PACKAGES }}
105+
106+
- name: Restore
96107
run: dotnet restore /p:TestFrameworks=true
97108

98109
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Benchmark.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,18 @@ jobs:
104104
with:
105105
dotnet-version: '9.0.x'
106106

107-
- name: Restore dependencies
107+
- name: Cache NuGet Packages
108+
uses: actions/cache@v4
109+
with:
110+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
111+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
112+
# '**/*.targets' includes Directory.Build.targets
113+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
114+
# 'global.json' included for SDK version changes
115+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
116+
path: ${{ env.NUGET_PACKAGES }}
117+
118+
- name: Restore
108119
run: dotnet restore /p:TestFrameworks=true
109120

110121
- name: Setup Environment Variables

.github/workflows/Lucene-Net-Tests-Classification.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,18 @@ jobs:
9292
with:
9393
dotnet-version: '9.0.x'
9494

95-
- name: Restore dependencies
95+
- name: Cache NuGet Packages
96+
uses: actions/cache@v4
97+
with:
98+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
99+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
100+
# '**/*.targets' includes Directory.Build.targets
101+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
102+
# 'global.json' included for SDK version changes
103+
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
104+
path: ${{ env.NUGET_PACKAGES }}
105+
106+
- name: Restore
96107
run: dotnet restore /p:TestFrameworks=true
97108

98109
- name: Setup Environment Variables

0 commit comments

Comments
 (0)