chore(deps): major update dependency coverlet.collector to 8.0.0#176
Open
cheetahbot wants to merge 1 commit intomainfrom
Open
chore(deps): major update dependency coverlet.collector to 8.0.0#176cheetahbot wants to merge 1 commit intomainfrom
cheetahbot wants to merge 1 commit intomainfrom
Conversation
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ API | spectral | 1 | 0 | 0 | 1.51s | |
| csharpier | 20 | 1 | 0 | 12.2s | ||
| dotnet-format | yes | 1 | no | 0.75s | ||
| roslynator | 2 | 1 | 0 | 15.8s | ||
| ✅ DOCKERFILE | hadolint | 1 | 0 | 0 | 0.06s | |
| ✅ JSON | jsonlint | 4 | 0 | 0 | 0.17s | |
| prettier | 4 | 1 | 0 | 0.5s | ||
| markdownlint | 1 | 12 | 0 | 0.86s | ||
| ✅ MARKDOWN | markdown-table-formatter | 1 | 0 | 0 | 0.36s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.4s | |
| ✅ REPOSITORY | grype | yes | no | no | 36.0s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.1s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.35s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.45s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 3.88s | |
| ✅ XML | xmllint | 1 | 0 | 0 | 0.2s | |
| ✅ YAML | prettier | 1 | 0 | 0 | 0.39s | |
| ✅ YAML | v8r | 1 | 0 | 0 | 3.21s | |
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.39s |
Detailed Issues
⚠️ CSHARP / csharpier - 1 error
Error ./src/Cheetah.WebApi.Test/Cheetah.WebApi.Test.csproj - Was not formatted.
----------------------------- Expected: Around Line 2 -----------------------------
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
----------------------------- Actual: Around Line 2 -----------------------------
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
Error ./src/Cheetah.WebApi/Cheetah.WebApi.csproj - Was not formatted.
The file did not end with a single newline.
Error ./src/Cheetah.WebApi/Infrastructure/Installers/KafkaInstaller.cs - Was not formatted.
----------------------------- Expected: Around Line 47 -----------------------------
x.SetValueDeserializer(_ => Deserializers.Utf8);
x.ConfigureClient(cfg =>
{
----------------------------- Actual: Around Line 47 -----------------------------
x.SetValueDeserializer(_ => Deserializers.Utf8);
x.ConfigureClient(cfg =>·
{
Error ./src/Cheetah.WebApi/Infrastructure/Installers/ServiceInstaller.cs - Was not formatted.
----------------------------- Expected: Around Line 38 -----------------------------
{
if (hostEnvironment.IsDevelopment())
{
----------------------------- Actual: Around Line 38 -----------------------------
{
if (hostEnvironment.IsDevelopment()) {
cfg.WithConnectionSettings(settings => {
Error ./src/Cheetah.WebApi/Presentation/Controllers/KafkaControllerV2.cs - Was not formatted.
----------------------------- Expected: Around Line 53 -----------------------------
var consumerOptions = new ConsumerOptions<Ignore, string>();
consumerOptions.ConfigureClient(cfg =>
{
----------------------------- Actual: Around Line 53 -----------------------------
var consumerOptions = new ConsumerOptions<Ignore, string>();
consumerOptions.ConfigureClient(cfg =>·
{
Error ./src/Cheetah.WebApi/Program.cs - Was not formatted.
----------------------------- Expected: Around Line 117 -----------------------------
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse,
}
----------------------------- Actual: Around Line 117 -----------------------------
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse
}
Checked 20 files in 11938ms.
⚠️ CSHARP / dotnet-format - 1 error
Welcome to .NET 9.0!
---------------------
SDK Version: 9.0.112
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Unhandled exception: System.IO.FileNotFoundException: Could not find a MSBuild project file or solution file in ''. Specify which to use with the <workspace> argument.
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.Workspaces.MSBuildWorkspaceFinder.FindWorkspace(String searchDirectory, String workspacePath)
at Microsoft.CodeAnalysis.Tools.FormatCommandCommon.ParseWorkspaceOptions(ParseResult parseResult, FormatOptions formatOptions)
at Microsoft.CodeAnalysis.Tools.Commands.RootFormatCommand.FormatCommandDefaultHandler.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
⚠️ MARKDOWN / markdownlint - 12 errors
README.md:23:97 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:9898"]
README.md:29:6 error MD034/no-bare-urls Bare URL used [Context: "https://docs.github.com/en/pac..."]
README.md:107:27 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/swagger"]
README.md:108:26 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1751/swagger"]
README.md:109:21 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/health"]
README.md:110:27 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1861/metrics"]
README.md:111:24 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1852/swagger..."]
README.md:148 error MD024/no-duplicate-heading Multiple headings with the same content [Context: "3. Access the Application"]
README.md:150:27 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/swagger"]
README.md:151:26 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1751/swagger"]
README.md:152:21 error MD034/no-bare-urls Bare URL used [Context: "https://localhost:1851/health"]
README.md:153:27 error MD034/no-bare-urls Bare URL used [Context: "http://localhost:1861/metrics"]
⚠️ JSON / prettier - 1 error
Checking formatting...
[warn] src/.config/dotnet-tools.json
[warn] src/Cheetah.WebApi/Properties/launchSettings.json
[warn] src/Cheetah.WebApi/appsettings.json
[warn] src/Cheetah.WebApi/swagger.json
[warn] Code style issues found in 4 files. Run Prettier with --write to fix.
⚠️ CSHARP / roslynator - 1 error
Results of roslynator linter (version 0.12.0.0)
See documentation on https://megalinter.io/9.3.0/descriptors/csharp_roslynator/
-----------------------------------------------
✅ [SUCCESS] src/Cheetah.WebApi.Test/Cheetah.WebApi.Test.csproj
❌ [ERROR] src/Cheetah.WebApi/Cheetah.WebApi.csproj
Loading project 'src/Cheetah.WebApi/Cheetah.WebApi.csproj'...
Analyze 'Cheetah.WebApi'
Core/Config/KafkaConsumerConfig.cs(9,52): error CS0103: The name 'Dns' does not exist in the current context
Core/Config/KafkaProducerConfig.cs(9,52): error CS0103: The name 'Dns' does not exist in the current context
HostedServices/TopicSubscriberService.cs(41,20): error CS0103: The name 'Task' does not exist in the current context
HostedServices/TopicSubscriberService.cs(47,20): error CS0103: The name 'Task' does not exist in the current context
Infrastructure/Installers/ServiceInstaller.cs(59,19): error CS0103: The name 'Dns' does not exist in the current context
Presentation/Controllers/DefaultController.cs(11,16): error CS0103: The name 'RedirectPermanent' does not exist in the current context
Presentation/Controllers/ErrorController.cs(15,20): error CS0103: The name 'NotFound' does not exist in the current context
Presentation/Controllers/ErrorController.cs(18,39): error CS0103: The name 'HttpContext' does not exist in the current context
Presentation/Controllers/ErrorController.cs(20,16): error CS0103: The name 'Problem' does not exist in the current context
Presentation/Controllers/ErrorController.cs(27,43): error CS0103: The name 'Problem' does not exist in the current context
Presentation/Controllers/KafkaController.cs(46,47): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaController.cs(47,31): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaController.cs(50,46): error CS0103: The name 'TimeSpan' does not exist in the current context
Presentation/Controllers/KafkaController.cs(54,24): error CS0103: The name 'NotFound' does not exist in the current context
Presentation/Controllers/KafkaController.cs(56,20): error CS0103: The name 'Ok' does not exist in the current context
Presentation/Controllers/KafkaController.cs(64,47): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaController.cs(65,31): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaController.cs(72,20): error CS0103: The name 'Ok' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(48,47): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(49,31): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(58,48): error CS0103: The name 'Deserializers' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(59,50): error CS0103: The name 'Deserializers' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(65,41): error CS0103: The name 'CancellationTokenSource' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(66,41): error CS0103: The name 'TimeSpan' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(78,32): error CS0103: The name 'Ok' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(87,28): error CS0103: The name 'BadRequest' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(96,20): error CS0103: The name 'NotFound' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(104,47): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(105,31): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/KafkaControllerV2.cs(117,20): error CS0103: The name 'Ok' does not exist in the current context
Presentation/Controllers/OpenSearchController.cs(29,53): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/OpenSearchController.cs(30,31): error CS0103: The name 'StatusCodes' does not exist in the current context
Presentation/Controllers/OpenSearchController.cs(33,81): error CS0103: The name 'Indices' does not exist in the current context
Presentation/Controllers/OpenSearchController.cs(39,20): error CS0103: The name 'Ok' does not exist in the current context
Program.cs(25,13): error CS0103: The name 'Log' does not exist in the current context
Program.cs(32,17): error CS0103: The name 'IdentityModelEventSource' does not exist in the current context
Program.cs(34,31): error CS0103: The name 'WebApplication' does not exist in the current context
Program.cs(117,42): error CS0103: The name 'UIResponseWriter' does not exist in the current context
Program.cs(144,17): error CS0103: The name 'Log' does not exist in the current context
Program.cs(148,17): error CS0103: The name 'Log' does not exist in the current context
Infrastructure/Installers/KafkaInstaller.cs(1,15): error CS0234: The type or namespace name 'Kafka' does not exist in the namespace 'Cheetah' (are you missing an assembly reference?)
Infrastructure/Installers/KafkaInstaller.cs(2,15): error CS0234: The type or namespace name 'Kafka' does not exist in the namespace 'Cheetah' (are you missing an assembly reference?)
Infrastructure/Installers/KafkaInstaller.cs(3,15): error CS0234: The type or namespace name 'Kafka' does not exist in the namespace 'Cheetah' (are you missing an assembly reference?)
Infrastructure/Installers/ServiceInstaller.cs(2,15): error CS0234: The type or namespace name 'OpenSearch' does not exist in the namespace 'Cheetah' (are you missing an assembly reference?)
Infrastructure/Installers/ServiceInstaller.cs(3,15): error CS0234: The type or namespace name 'OpenSearch' does not exist in the namespace 'Cheetah' (are you missing an assembly reference?)
Presentation/Controllers/KafkaControllerV2.cs(6,15): error CS0234: The type or namespace name 'Kafka' does not exist in the namespace 'Cheetah' (are you missing an assembly reference?)
Core/Config/KafkaConsumerConfig.cs(1,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Config/KafkaProducerConfig.cs(1,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Config/WebApiConfig.cs(1,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Config/WebApiConfig.cs(2,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Config/WebApiConfig.cs(3,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Config/WebApiConfig.cs(4,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Config/WebApiConfig.cs(5,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Models/DateAndValue.cs(1,7): error CS0246: The type or namespace name 'System' could not be found (are you missing a using directive or an assembly reference?)
Core/Models/DateAn
(Truncated to 8000 characters out of 92040)
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.3.0 --custom-flavor-setup --custom-flavor-linters API_SPECTRAL,CSHARP_DOTNET_FORMAT,CSHARP_CSHARPIER,CSHARP_ROSLYNATOR,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,XML_XMLLINT,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R
dbd7d36 to
443c508
Compare
443c508 to
be6ab66
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR contains the following updates:
6.0.4→8.0.0Release Notes
coverlet-coverage/coverlet (coverlet.collector)
v8.0.0Special Thanks: A huge thank you to @Bertk for driving the majority of the work in this release! 🎉
Fixed
Improvements
Diff between 6.0.4 and 8.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 12pm and before 4pm every weekday" in timezone Europe/Copenhagen.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.