File tree 5 files changed +11
-24
lines changed
5 files changed +11
-24
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ jobs:
15
15
# build:
16
16
# runs-on: ubuntu-latest
17
17
# steps:
18
- # - uses: actions/checkout@v1
18
+ # - uses: actions/checkout@v3
19
19
#
20
20
# - name: Setup Dotnet for use with actions
21
- # uses: actions/setup-dotnet@v1
21
+ # uses: actions/setup-dotnet@v3
22
22
# with:
23
- # dotnet-version: '5 .0.x'
23
+ # dotnet-version: '8 .0.x'
24
24
#
25
25
# - name: Build with dotnet
26
26
# run: dotnet build --configuration Release
@@ -29,12 +29,12 @@ jobs:
29
29
# needs: build
30
30
runs-on : ubuntu-latest
31
31
steps :
32
- - uses : actions/checkout@v1
32
+ - uses : actions/checkout@v3
33
33
34
34
- name : Setup Dotnet for use with actions
35
- uses : actions/setup-dotnet@v1
35
+ uses : actions/setup-dotnet@v3
36
36
with :
37
- dotnet-version : ' 5 .0.x'
37
+ dotnet-version : ' 8 .0.x'
38
38
39
39
- name : Pack with dotnet
40
40
run : dotnet pack --configuration Release
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net5 .0</TargetFrameworks >
4
+ <TargetFrameworks >net6.0;net7.0;net8 .0</TargetFrameworks >
5
5
<IsPackable >false</IsPackable >
6
6
<Authors >Ben McCallum, AutoGuru</Authors >
7
7
<Product >kv-push</Product >
14
14
<RepositoryType >git</RepositoryType >
15
15
<IsPackable >false</IsPackable >
16
16
<NoPackageAnalysis >true</NoPackageAnalysis >
17
- <LangVersion >latest</LangVersion >
18
17
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
19
18
<GenerateFullPaths Condition =" '$(TERM_PROGRAM)' == 'vscode'" >true</GenerateFullPaths >
20
19
<Nullable >enable</Nullable >
21
20
</PropertyGroup >
22
21
23
- <ItemGroup >
24
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0-*" PrivateAssets =" All" Publish =" false" />
25
- </ItemGroup >
26
-
27
22
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <Version >1 .0.1 </Version >
4
+ <Version >2 .0.0 </Version >
5
5
<Description >A dotnet global tool for pushing key-value data into redis.</Description >
6
6
<Product >kv-push-redis</Product >
7
7
<OutputType >Exe</OutputType >
10
10
<ToolCommandName >kv-push-redis</ToolCommandName >
11
11
<ServerGarbageCollection >true</ServerGarbageCollection >
12
12
<DebugType >embedded</DebugType >
13
- <EmbedUntrackedSources >true</EmbedUntrackedSources >
14
13
</PropertyGroup >
15
14
16
15
<ItemGroup >
17
16
<FrameworkReference Include =" Microsoft.AspNetCore.App" />
18
- </ItemGroup >
19
-
20
- <ItemGroup >
21
- <PackageReference Include =" McMaster.Extensions.CommandLineUtils" Version =" 3.1.0" />
22
- <PackageReference Include =" StackExchange.Redis" Version =" 2.2.62" />
17
+ <PackageReference Include =" McMaster.Extensions.CommandLineUtils" Version =" 4.1.0" />
18
+ <PackageReference Include =" StackExchange.Redis" Version =" 2.7.17" />
23
19
</ItemGroup >
24
20
25
21
<ItemGroup >
Original file line number Diff line number Diff line change 7
7
8
8
namespace AutoGuru . KeyValuePush . Redis
9
9
{
10
- public class RedisPusher : IPusher , IDisposable
10
+ public sealed class RedisPusher : IPusher , IDisposable
11
11
{
12
12
private ConnectionMultiplexer ? _connectionMultiplexer ;
13
13
private IDatabase ? _db ;
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
- <ItemGroup >
4
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0-*" PrivateAssets =" All" Publish =" false" />
5
- </ItemGroup >
6
-
7
3
</Project >
You can’t perform that action at this time.
0 commit comments