Skip to content

Commit b2c2ae1

Browse files
chore(ci): bump dailydevops/pipelines from 0.14.68 to 0.14.79 (#264)
1 parent fe2848a commit b2c2ae1

7 files changed

Lines changed: 17 additions & 24 deletions

File tree

.editorconfig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tab_width = unset
2424
trim_trailing_whitespace = false
2525

2626
# Code files
27-
[*.{cs,csx,vb,vbx}]
27+
[*.{cs,csx,vb,vbx,razor,razor.cs}]
2828
indent_size = 4
2929
insert_final_newline = true
3030
charset = utf-8-bom
@@ -34,6 +34,7 @@ charset = utf-8-bom
3434
# See https://github.com/dotnet/aspnetcore/pull/23502 and https://github.com/dotnet/aspnetcore/issues/22753
3535
[*.{razor,cshtml}]
3636
charset = utf-8-bom
37+
indent_size = 4
3738

3839
# Generated code
3940
[*{_AssemblyInfo.cs,.notsupported.cs,.generated.cs}]
@@ -121,7 +122,7 @@ dotnet_style_null_propagation = true :
121122

122123
# Modifier preferences
123124
# See https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-language-conventions?view=vs-2019#normalize-modifiers
124-
dotnet_style_require_accessibility_modifiers = always : error
125+
dotnet_style_require_accessibility_modifiers = for_non_interface_members : error
125126
dotnet_style_readonly_field = true : warning
126127

127128
# Required Styles
@@ -277,3 +278,6 @@ dotnet_diagnostic.SA1504.severity = none
277278
dotnet_diagnostic.SA1515.severity = none
278279
dotnet_diagnostic.SA1516.severity = none
279280

281+
# Support for NetEvolve.Arguments Methods
282+
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1062#null-check-validation-methods
283+
dotnet_code_quality.CA1062.null_check_validation_methods = M:NetEvolve.Arguments.Argument.ThrowIfNull(System.Object,System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNull(System.Void*,System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNullOrEmpty(System.String,System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNullOrEmpty``1(System.Collections.Generic.IEnumerable{``0},System.String)|M:NetEvolve.Arguments.Argument.ThrowIfNullOrWhiteSpace(System.String,System.String)

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
all:
2323
name: Build & Tests
24-
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.14.68
24+
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.14.79
2525
with:
2626
enableSonarQube: true
2727
dotnet-logging: ${{ inputs.dotnet-logging }}

Directory.Build.props

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<Project>
2-
32
<PropertyGroup>
43
<!-- Workaround, until https://github.com/GitTools/GitVersion/pull/4206 is released -->
54
<GitVersionTargetFramework>net8.0</GitVersionTargetFramework>
65
</PropertyGroup>
7-
86
</Project>

Directory.Packages.props

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@
44
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
55
</PropertyGroup>
66
<ItemGroup>
7-
<GlobalPackageReference Include="CSharpier.MSBuild" Version="0.30.6" />
7+
<GlobalPackageReference Include="CSharpier.MSBuild" Version="1.0.1" />
88
<GlobalPackageReference Include="GitVersion.MsBuild" Version="6.1.0" />
99
<GlobalPackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
1010
<GlobalPackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
1111
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
1212
<GlobalPackageReference Include="NetEvolve.Defaults" Version="1.3.74" />
13-
<GlobalPackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.61" />
14-
<GlobalPackageReference Include="SonarAnalyzer.CSharp" Version="10.6.0.109712" Condition=" '$(BuildingInsideVisualStudio)' == 'true' " />
13+
<GlobalPackageReference
14+
Include="Microsoft.VisualStudio.Threading.Analyzers"
15+
Version="17.13.61"
16+
/>
17+
<GlobalPackageReference
18+
Include="SonarAnalyzer.CSharp"
19+
Version="10.6.0.109712"
20+
Condition=" '$(BuildingInsideVisualStudio)' == 'true' "
21+
/>
1522
</ItemGroup>
1623
<ItemGroup>
1724
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
@@ -22,5 +29,4 @@
2229
<PackageVersion Include="xunit" Version="2.9.3" />
2330
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
2431
</ItemGroup>
25-
2632
</Project>

nuget.config

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@
55
<config>
66
<!--<add key="defaultPushSource" value="https://contoso.com/packages/" />-->
77
</config>
8-
98
<!-- Define the package sources, nuget.org and contoso.com. -->
109
<!-- `clear` ensures no additional sources are inherited from another config file. -->
1110
<packageSources>
1211
<clear />
1312
<!-- `key` can be any identifier for your source. -->
1413
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
1514
</packageSources>
16-
1715
<!-- Define mappings by adding package patterns beneath the target source. -->
1816
<!-- Contoso.* packages and NuGet.Common will be restored from contoso.com, everything else from nuget.org. -->
1917
<packageSourceMapping>
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
5-
64
<Title>$(MSBuildProjectName)</Title>
75
<Description>Library with common `string` extension methods for easy reuse.</Description>
86
<PackageTags>string;extensions;methods</PackageTags>
97
<PackageProjectUrl>https://github.com/dailydevops/extensions.strings</PackageProjectUrl>
108
<RepositoryUrl>https://github.com/dailydevops/extensions.strings.git</RepositoryUrl>
11-
129
<PackageReleaseNotes>$(PackageProjectUrl)/releases</PackageReleaseNotes>
13-
1410
<CopyrightYearStart>2023</CopyrightYearStart>
15-
1611
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
17-
1812
<NoWarn Condition=" '$(TargetFramework)' == 'netstandard2.0' ">$(NoWarn);CA1062</NoWarn>
1913
</PropertyGroup>
20-
2114
<ItemGroup>
2215
<PackageReference Include="NetEvolve.Arguments" />
2316
</ItemGroup>
24-
2517
</Project>

tests/NetEvolve.Extensions.Strings.Tests.Unit/NetEvolve.Extensions.Strings.Tests.Unit.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
54
<NoWarn>$(NoWarn);CS8604;NU1701</NoWarn>
6-
75
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
86
</PropertyGroup>
9-
107
<ItemGroup>
118
<PackageReference Include="coverlet.msbuild" />
129
<PackageReference Include="Microsoft.NET.Test.Sdk" />
@@ -21,9 +18,7 @@
2118
<PrivateAssets>all</PrivateAssets>
2219
</PackageReference>
2320
</ItemGroup>
24-
2521
<ItemGroup>
2622
<ProjectReference Include="..\..\src\NetEvolve.Extensions.Strings\NetEvolve.Extensions.Strings.csproj" />
2723
</ItemGroup>
28-
2924
</Project>

0 commit comments

Comments
 (0)