Skip to content

Update application to dotnet version and make it self contained (#2) #36

Update application to dotnet version and make it self contained (#2)

Update application to dotnet version and make it self contained (#2) #36

Triggered via push December 18, 2023 10:01
Status Success
Total duration 38s
Artifacts

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-dotnet@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: src/Cmf.Tools.TestDetector/ChangeHandlers/CSharpRoslynChangeHandler.cs#L402
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: src/Cmf.Tools.TestDetector/ChangeHandlers/CSharpRoslynChangeHandler.cs#L70
Method 'Task<ISymbol> CSharpRoslynChangeHandler.FindMethod(RoslynNode roslynNode, string methodName)' passes a literal string as parameter 'message' of a call to 'Exception.Exception(string? message)'. Retrieve the following string(s) from a resource table instead: "Class was not initialized. Make sure to call Initialize first.". (https://docs.microsoft.com/visualstudio/code-quality/ca1303-do-not-pass-literals-as-localized-parameters)
build: src/Cmf.Tools.TestDetector/ChangeHandlers/CSharpRoslynChangeHandler.cs#L100
Method 'Task<ISymbol> CSharpRoslynChangeHandler.FindMethod(RoslynNode roslynNode, int lineNumber)' passes a literal string as parameter 'message' of a call to 'Exception.Exception(string? message)'. Retrieve the following string(s) from a resource table instead: "Class was not initialized. Make sure to call Initialize first.". (https://docs.microsoft.com/visualstudio/code-quality/ca1303-do-not-pass-literals-as-localized-parameters)
build: src/Cmf.Tools.TestDetector/ChangeHandlers/CSharpRoslynChangeHandler.cs#L60
Member HasAttribute does not access instance data and can be marked as static (Shared in VisualBasic) (https://docs.microsoft.com/visualstudio/code-quality/ca1822-mark-members-as-static)
build
Found version-specific or distribution-specific runtime identifier(s): alpine-x64, alpine.3.9-x64, debian-arm64, debian.9-x64, fedora-x64, rhel-x64, ubuntu.16.04-arm64, ubuntu.18.04-x64. Affected libraries: LibGit2Sharp.NativeBinaries. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
build
Found version-specific or distribution-specific runtime identifier(s): alpine-x64, alpine.3.9-x64, debian-arm64, debian.9-x64, fedora-x64, rhel-x64, ubuntu.16.04-arm64, ubuntu.18.04-x64. Affected libraries: LibGit2Sharp.NativeBinaries. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.