Skip to content

Commit f5052da

Browse files
v8.0.0
1 parent b2c1a31 commit f5052da

File tree

6 files changed

+27
-24
lines changed

6 files changed

+27
-24
lines changed

.editorconfig

Lines changed: 10 additions & 7 deletions
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

Lines changed: 6 additions & 7 deletions
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
@@ -26,13 +26,13 @@ jobs:
2626
run: echo "Type - ${{github.event_name}}"
2727

2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4.2.2
3030
with:
3131
fetch-depth: 0
3232

3333
# Install the .NET Core workload
3434
- name: Install .NET Core
35-
uses: actions/setup-dotnet@v4.1.0
35+
uses: actions/setup-dotnet@v4.2.0
3636
with:
3737
dotnet-version: 9.0.x
3838

@@ -57,7 +57,7 @@ jobs:
5757

5858
# Publish Artifacts
5959
- name: 'Publish Artifacts'
60-
uses: actions/upload-artifact@v4.4.0
60+
uses: actions/upload-artifact@v4.4.3
6161
with:
6262
name: artifactory_${{ matrix.configuration }}
6363
path: ./Analogy.LogViewer.JsonParser/bin/${{ matrix.configuration }}
@@ -67,19 +67,18 @@ jobs:
6767
if: ${{ github.event_name == 'push'}}
6868
runs-on: windows-latest
6969
steps:
70+
- name: Setup NuGet.exe for use with actions
71+
uses: NuGet/setup-nuget@v2.0.1
7072
- name: 'Download Artifact'
7173
uses: actions/download-artifact@v4.1.8
7274
with:
7375
name: artifactory_Release
7476
- name: 'Dotnet NuGet Push'
7577
run: |
7678
Get-ChildItem ./ -Filter *.nupkg |
77-
Where-Object { !$_.Name.Contains('preview') } |
7879
ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
7980
shell: pwsh
8081

81-
- name: Setup NuGet.exe for use with actions
82-
uses: NuGet/setup-nuget@v1.0.5
8382
concurrency:
8483
group: ${{ github.ref }}
8584
cancel-in-progress: true

Analogy.LogViewer.JsonParser.UnitTests/Analogy.LogViewer.JsonParser.UnitTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="7.2.0" />
14-
<PackageReference Include="coverlet.collector" Version="6.0.2">
13+
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="8.0.0" />
14+
<PackageReference Include="coverlet.collector" Version="6.0.4">
1515
<PrivateAssets>all</PrivateAssets>
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
</PackageReference>
1818
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
19-
<PackageReference Include="MSTest.TestAdapter" Version="3.6.4" />
20-
<PackageReference Include="MSTest.TestFramework" Version="3.6.4" />
19+
<PackageReference Include="MSTest.TestAdapter" Version="3.7.2" />
20+
<PackageReference Include="MSTest.TestFramework" Version="3.7.2" />
2121
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
2222
</ItemGroup>
2323

Analogy.LogViewer.JsonParser/Analogy.LogViewer.JsonParser.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<OutputType>Library</OutputType>
55
<TargetFrameworks>net9.0-windows;net8.0-windows;net48</TargetFrameworks>
66
<UseWindowsForms>true</UseWindowsForms>
7-
<VersionPrefix>7.2.0</VersionPrefix>
7+
<VersionPrefix>8.0.0</VersionPrefix>
88
<VersionSuffix></VersionSuffix>
99
<Authors>Lior Banai</Authors>
1010
<Company>Analogy.LogViewer</Company>
@@ -16,11 +16,11 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="7.2.0" />
20-
<PackageReference Include="Analogy.CommonUtilities" Version="7.2.0" />
21-
<PackageReference Include="Analogy.LogViewer.Template" Version="7.2.0" />
19+
<PackageReference Include="Analogy.LogViewer.Interfaces" Version="8.0.0" />
20+
<PackageReference Include="Analogy.CommonUtilities" Version="8.0.0" />
21+
<PackageReference Include="Analogy.LogViewer.Template" Version="8.0.0" />
2222
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
23-
<PackageReference Include="System.Resources.Extensions" Version="9.0.0" />
23+
<PackageReference Include="System.Resources.Extensions" Version="9.0.1" />
2424
</ItemGroup>
2525
<ItemGroup>
2626
<Compile Update="Properties\Resources.Designer.cs">

Analogy.LogViewer.JsonParser/IAnalogy/JsonDataProvider.cs

Lines changed: 1 addition & 0 deletions
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.JsonParser.Managers;
34
using Microsoft.Extensions.Logging;
45
using Newtonsoft.Json;

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<PrivateAssets>all</PrivateAssets>
3535
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3636
</PackageReference>
37-
<PackageReference Include="Meziantou.Analyzer" Version="2.0.182">
37+
<PackageReference Include="Meziantou.Analyzer" Version="2.0.186">
3838
<PrivateAssets>all</PrivateAssets>
3939
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4040
</PackageReference>

0 commit comments

Comments
 (0)