-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to minimize the total number of warnings (#1239)
* attempt to minimize the total number of warnings * Update dependency Rocket.Surgery.Nuke to v1.7.2 * wip * Updated docs generation --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a9c2912
commit 5104f36
Showing
106 changed files
with
633 additions
and
523 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[*] | ||
#### .NET Coding Conventions #### | ||
resharper_all_underscore_local_parameter_name_highlighting = none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ on: | |
- '.github/renovate.json' | ||
|
||
jobs: | ||
Build: | ||
build: | ||
env: | ||
NUGET_PACKAGES: '${{ github.workspace }}/.nuget/packages' | ||
strategy: | ||
|
@@ -102,18 +102,23 @@ jobs: | |
run: | | ||
dotnet tool restore | ||
- name: 🎁 Restore | ||
id: restore | ||
run: | | ||
dotnet nuke Restore --skip | ||
- name: ⚙ Build | ||
id: build | ||
run: | | ||
dotnet nuke Build --skip | ||
- name: 🚦 Test | ||
id: test | ||
run: | | ||
dotnet nuke Test TriggerCodeCoverageReports GenerateCodeCoverageReportCobertura GenerateCodeCoverageBadges GenerateCodeCoverageSummary GenerateCodeCoverageReport --skip | ||
- name: Docs | ||
id: docs | ||
run: | | ||
dotnet nuke Docs --skip | ||
- name: 📦 Pack | ||
id: pack | ||
run: | | ||
dotnet nuke Pack --skip | ||
- name: 🏺 Publish coverage data | ||
|
@@ -153,7 +158,7 @@ jobs: | |
Publish: | ||
needs: | ||
- Build | ||
uses: RocketSurgeonsGuild/actions/.github/workflows/[email protected] | ||
secrets: | ||
RSG_NUGET_API_KEY: '${{ secrets.RSG_NUGET_API_KEY }}' | ||
RSG_AZURE_DEVOPS: '${{ secrets.RSG_AZURE_DEVOPS }}' | ||
uses: RocketSurgeonsGuild/actions/.github/workflows/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,45 @@ | ||
{ | ||
"metadata": [ | ||
{ | ||
"src": [ | ||
"metadata": [ | ||
{ | ||
"src": "../", | ||
"files": [ | ||
"src/**.csproj" | ||
], | ||
"exclude": [ | ||
"**/bin/**", | ||
"**/obj/**", | ||
"docs/**" | ||
] | ||
"src": [ | ||
{ | ||
"src": "../", | ||
"files": ["src/**.csproj"], | ||
"exclude": ["**/bin/**", "**/obj/**", "docs/**"] | ||
} | ||
], | ||
"dest": "api" | ||
} | ||
], | ||
"dest": "api" | ||
} | ||
], | ||
"build": { | ||
"content": [ | ||
{ | ||
"files": [ | ||
"api/**.yml", | ||
"api/index.md" | ||
] | ||
}, | ||
{ | ||
"files": [ | ||
"concepts/**.md", | ||
"concepts/**/toc.yml", | ||
"guides/**.md", | ||
"guides/**/toc.yml", | ||
"toc.yml", | ||
"*.md" | ||
] | ||
} | ||
], | ||
"resource": [ | ||
{ | ||
"files": [ | ||
"images/**" | ||
] | ||
} | ||
], | ||
"overwrite": [ | ||
{ | ||
"files": [ | ||
"apidoc/**.md" | ||
"build": { | ||
"content": [ | ||
{ | ||
"files": ["api/**.yml", "api/index.md"] | ||
}, | ||
{ | ||
"files": ["concepts/**.md", "concepts/**/toc.yml", "guides/**.md", "guides/**/toc.yml", "toc.yml", "*.md"] | ||
} | ||
], | ||
"exclude": [ | ||
"obj/**", | ||
"_site/**" | ||
] | ||
} | ||
], | ||
"dest": "docs", | ||
"globalMetadataFiles": [], | ||
"fileMetadataFiles": [], | ||
"template": [ "default", "theme" ], | ||
"postProcessors": [], | ||
"markdownEngineName": "markdig", | ||
"noLangKeyword": false, | ||
"keepFileLink": false, | ||
"cleanupCacheHistory": false, | ||
"disableGitFeatures": false | ||
} | ||
} | ||
"resource": [ | ||
{ | ||
"files": ["images/**"] | ||
} | ||
], | ||
"overwrite": [ | ||
{ | ||
"files": ["apidoc/**.md"], | ||
"exclude": ["obj/**", "_site/**"] | ||
} | ||
], | ||
"dest": "../artifacts/docs", | ||
"globalMetadataFiles": [], | ||
"fileMetadataFiles": [], | ||
"template": ["default", "theme"], | ||
"postProcessors": [], | ||
"markdownEngineName": "markdig", | ||
"noLangKeyword": false, | ||
"keepFileLink": false, | ||
"cleanupCacheHistory": false, | ||
"disableGitFeatures": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,4 @@ | |
|
||
namespace Sample.DependencyOne; | ||
|
||
public class Class1 : IConvention | ||
{ | ||
} | ||
public class Class1 : IConvention; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,4 @@ | |
|
||
namespace Sample.DependencyTwo; | ||
|
||
public class Class2 : IConvention | ||
{ | ||
} | ||
public class Class2 : IConvention; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
using Sample.Core; | ||
using Spectre.Console; | ||
using Spectre.Console.Cli; | ||
|
||
namespace Sample; | ||
|
||
public class DefaultCommand : Command<AppSettings> | ||
public class DefaultCommand(IService service) : Command<AppSettings> | ||
{ | ||
private readonly IService _service; | ||
|
||
public DefaultCommand(IService service) | ||
{ | ||
_service = service; | ||
} | ||
|
||
#pragma warning disable CS8765 // Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). | ||
public override int Execute(CommandContext context, AppSettings settings) | ||
#pragma warning restore CS8765 // Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes). | ||
{ | ||
Console.WriteLine(_service.GetString()); | ||
AnsiConsole.WriteLine(service.GetString()); | ||
return 1; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.