Skip to content

Merge pull request #535 from GitTools/dependabot/nuget/src/YamlDotNet… #351

Merge pull request #535 from GitTools/dependabot/nuget/src/YamlDotNet…

Merge pull request #535 from GitTools/dependabot/nuget/src/YamlDotNet… #351

Triggered via push October 11, 2023 15:21
Status Failure
Total duration 10m 56s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build (windows-2022)
The process 'dotnet' failed with exit code 1
build (windows-2022)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, cake-build/cake-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (windows-2022): src/GitReleaseManager.Core/Model/Issue.cs#L11
Change the type of property 'Issue.HtmlUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
build (windows-2022): src/GitReleaseManager.Core/Model/Milestone.cs#L13
Change the type of property 'Milestone.HtmlUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
build (windows-2022): src/GitReleaseManager.Core/Model/Milestone.cs#L15
Change the type of property 'Milestone.Url' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
build (windows-2022): src/GitReleaseManager.Core/Model/Release.cs#L18
Change the type of property 'Release.HtmlUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
build (windows-2022): src/GitReleaseManager.Core/Model/Release.cs#L20
Change the type of property 'Release.UploadUrl' from 'string' to 'System.Uri' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1056)
build (windows-2022): src/GitReleaseManager.Core/Options/AddAssetSubOptions.cs#L10
Change 'AssetPaths' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build (windows-2022): src/GitReleaseManager.Core/Options/CreateSubOptions.cs#L10
Change 'AssetPaths' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build (windows-2022): src/GitReleaseManager.Core/Exceptions/InvalidIssuesException.cs#L31
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build (windows-2022): src/GitReleaseManager.Core/Commands/PublishCommand.cs#L20
In externally visible method 'Task<int> PublishCommand.ExecuteAsync(PublishSubOptions options)', validate parameter 'options' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build (windows-2022): src/GitReleaseManager.Core/VcsService.cs#L144
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'VcsService.AddAssetsAsync(string, string, string, IList<string>, Release)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)