Skip to content

Commit 2657fc5

Browse files
v2.0.0
1 parent 5750d7d commit 2657fc5

File tree

6 files changed

+25
-20
lines changed

6 files changed

+25
-20
lines changed

.editorconfig

+10-7
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ csharp_style_expression_bodied_operators = false:silent
9191
csharp_style_expression_bodied_properties = true:silent
9292

9393
# Pattern matching preferences
94-
csharp_style_pattern_matching_over_as_with_null_check = true
95-
csharp_style_pattern_matching_over_is_with_cast_check = true
96-
csharp_style_prefer_extended_property_pattern = true
97-
csharp_style_prefer_not_pattern = true
98-
csharp_style_prefer_pattern_matching = true
99-
csharp_style_prefer_switch_expression = true
94+
csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
95+
csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
96+
csharp_style_prefer_extended_property_pattern = true:suggestion
97+
csharp_style_prefer_not_pattern = true:suggestion
98+
csharp_style_prefer_pattern_matching = true:silent
99+
csharp_style_prefer_switch_expression = true:suggestion
100100

101101
# Null-checking preferences
102102
csharp_style_conditional_delegate_call = true
@@ -274,6 +274,8 @@ dotnet_diagnostic.SA1108.severity = silent
274274
dotnet_diagnostic.SA1012.severity = error
275275
dotnet_diagnostic.SA1500.severity = error
276276
dotnet_diagnostic.SA1316.severity = error
277+
csharp_prefer_system_threading_lock = true:suggestion
278+
dotnet_diagnostic.MA0132.severity = error
277279

278280
[*.{cs,vb}]
279281
dotnet_style_operator_placement_when_wrapping = beginning_of_line
@@ -297,4 +299,5 @@ dotnet_style_predefined_type_for_locals_parameters_members = true:silent
297299
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
298300
dotnet_code_quality_unused_parameters = all:suggestion
299301
dotnet_diagnostic.CA2200.severity = error
300-
dotnet_diagnostic.CA1012.severity = error
302+
dotnet_diagnostic.CA1012.severity = error
303+
dotnet_style_namespace_match_folder = true:suggestion

.github/workflows/dotnet-core-desktop.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
configuration: [Release, Debug]
15+
configuration: [Release]
1616

1717
runs-on: windows-latest # For a list of available runner types, refer to
1818
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
@@ -23,13 +23,13 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4.2.2
2727
with:
2828
fetch-depth: 0
2929

3030
# Install the .NET Core workload
3131
- name: Install .NET Core
32-
uses: actions/setup-dotnet@v4.1.0
32+
uses: actions/setup-dotnet@v4.2.0
3333
with:
3434
dotnet-version: 9.0.x
3535

@@ -54,7 +54,7 @@ jobs:
5454

5555
# Publish Artifacts
5656
- name: 'Publish Artifacts'
57-
uses: actions/[email protected].0
57+
uses: actions/[email protected].3
5858
with:
5959
name: artifactory_${{ matrix.configuration }}
6060
path: ./Analogy.LogViewer.LiteDB/bin/${{ matrix.configuration }}
@@ -64,19 +64,18 @@ jobs:
6464
if: ${{ github.event_name == 'push'}}
6565
runs-on: windows-latest
6666
steps:
67+
- name: Setup NuGet.exe for use with actions
68+
uses: NuGet/[email protected]
6769
- name: 'Download Artifact'
6870
uses: actions/[email protected]
6971
with:
7072
name: artifactory_Release
7173
- name: 'Dotnet NuGet Push'
7274
run: |
7375
Get-ChildItem ./ -Filter *.nupkg |
74-
Where-Object { !$_.Name.Contains('preview') } |
7576
ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
7677
shell: pwsh
7778

78-
- name: Setup NuGet.exe for use with actions
79-
uses: NuGet/[email protected]
8079
concurrency:
8180
group: ${{ github.ref }}
8281
cancel-in-progress: true

Analogy.LogViewer.LiteDB.UnitTests/Analogy.LogViewer.LiteDB.UnitTests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
9+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.1" />
1010
<PackageReference Include="System.Resources.Extensions" Version="9.0.1" />
11-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
11+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.1" />
1212
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.1" />
1313
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.1" />
1414
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.1" />

Analogy.LogViewer.LiteDB/Analogy.LogViewer.LiteDB.csproj

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net9.0-windows;net8.0-windows;net48</TargetFrameworks>
5-
<Version>1.0.0</Version>
5+
<Version>2.0.0</Version>
66
<Authors>Lior Banai</Authors>
77
<Company>Analogy.LogViewer</Company>
88
<Product>Analogy.LogViewer.LiteDB</Product>
@@ -15,10 +15,11 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="7.2.0" />
19-
<PackageReference Include="Analogy.CommonUtilities" Version="7.2.0" />
20-
<PackageReference Include="Analogy.LogViewer.Template" Version="7.2.0" />
18+
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="8.0.0" />
19+
<PackageReference Include="Analogy.CommonUtilities" Version="8.0.0" />
20+
<PackageReference Include="Analogy.LogViewer.Template" Version="8.0.0" />
2121
<PackageReference Include="LiteDB" Version="5.0.21" />
22+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
2223
<PackageReference Include="System.Resources.Extensions" Version="9.0.1" />
2324
</ItemGroup>
2425
<ItemGroup>

Analogy.LogViewer.LiteDB/IAnalogy/LiteDBDataProvider.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Analogy.Interfaces;
2+
using Analogy.Interfaces.DataTypes;
23
using Analogy.LogViewer.LiteDB.Properties;
34
using Analogy.LogViewer.Template.Managers;
45
using LiteDB;

Analogy.LogViewer.LiteDB/IAnalogy/LiteDBTableSelectionDataProvider.cs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Analogy.Interfaces;
2+
using Analogy.Interfaces.DataTypes;
23
using Analogy.LogViewer.LiteDB.Forms;
34
using Analogy.LogViewer.LiteDB.Properties;
45
using Analogy.LogViewer.Template.Managers;

0 commit comments

Comments
 (0)