Skip to content

feat: ignore diagnostics for generated code #409

feat: ignore diagnostics for generated code

feat: ignore diagnostics for generated code #409

Re-run triggered August 21, 2023 19:35
Status Success
Total duration 51m 53s
Artifacts 3

tests-net6.yml

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

Annotations

66 warnings
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithDisabledAnalyzers2/Program.cs#L1
The file header is missing or not located at the top of the file.
Test (ubuntu-20.04, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithDisabledAnalyzers2/Program.cs#L1
Using directive should appear within a namespace declaration
Test (macos-11, OmniSharp.DotNetTest.Tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test (macos-11, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (macos-11, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (macos-11, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (macos-11, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (macos-11, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithDisabledAnalyzers2/Program.cs#L1
Using directive should appear within a namespace declaration
Test (macos-11, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithDisabledAnalyzers2/Program.cs#L1
The file header is missing or not located at the top of the file.
Test (windows-2022, OmniSharp.DotNetTest.Tests)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test (windows-2022, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.DotNetTest.Tests): .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (windows-2022, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (windows-2022, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (windows-2022, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (windows-2022, OmniSharp.DotNetTest.Tests): test-assets/test-projects/ProjectWithDisabledAnalyzers2/Program.cs#L1
The file header is missing or not located at the top of the file.
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (ubuntu-20.04, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (windows-2022, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,Om...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: .dotnet/sdk/6.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets#L28
The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L9
Method 'void Program.Main(string[] args)' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Hello World!".
Test (macos-11, OmniSharp.MSBuild.Tests,OmniSharp.Roslyn.CSharp.Tests,OmniSharp.Cake.Tests,OmniSh...: test-assets/test-projects/ProjectWithComplexAnalyzers/Program.cs#L7
Parameter args of method Main is never used. Remove the parameter or use it in the method body.

Artifacts

Produced during runtime
Name Size
logs - Tests net6.0 macos-11 Expired
446 MB
logs - Tests net6.0 ubuntu-20.04 Expired
497 MB
logs - Tests net6.0 windows-2022 Expired
518 MB