Skip to content

Fix the problem preventing running under .NET 7.0 #377

Fix the problem preventing running under .NET 7.0

Fix the problem preventing running under .NET 7.0 #377

Triggered via pull request November 11, 2023 17:23
Status Success
Total duration 6m 17s
Artifacts 2

build.yml

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

Annotations

11 warnings
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, actions/upload-artifact@v2. 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#L13
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#L15
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#L17
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/Exceptions/InvalidIssuesException.cs#L31
Change 'List<string>' in 'InvalidIssuesException.Errors' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build (windows-2022): src/GitReleaseManager.Core/VcsService.cs#L131
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)

Artifacts

Produced during runtime
Name Size
package Expired
6.51 MB
windows-2022 issues Expired
422 KB