Merge pull request #50 from anime-shed/main #91
dotnet.yml
on: push
Matrix: Build and test in Debug configuration
Matrix: Build and test in Release configuration
Publish Documentation
12s
Build and analyze with SonarCloud
7m 20s
Annotations
28 warnings
Build and test in Debug configuration (ubuntu-latest, 6.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 6.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 6.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 6.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Debug configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Publish Documentation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build and test in Release configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (ubuntu-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (windows-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (windows-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (windows-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and test in Release configuration (windows-latest, 8.x):
src/jjm.one.Serilog.Sinks.SlackWebHook.Tests/SlackSerilogBatchedLogEventSinkTests.cs#L33
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Build and analyze with SonarCloud
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackSerilogBatchedLogEventSink.cs#L111
Either implement 'IDisposable.Dispose', or totally rename this method to prevent confusion. (https://rules.sonarsource.com/csharp/RSPEC-2953)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackSerilogBatchedLogEventSink.cs#L111
Either implement 'IDisposable.Dispose', or totally rename this method to prevent confusion. (https://rules.sonarsource.com/csharp/RSPEC-2953)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackLoggerConfigurationExtensions.cs#L93
Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackLoggerConfigurationExtensions.cs#L93
Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackLoggerConfigurationExtensions.cs#L259
Method has 32 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackLoggerConfigurationExtensions.cs#L259
Method has 32 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackLoggerConfigurationExtensions.cs#L377
Method has 32 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackSerilogBatchedLogEventSink.cs#L48
Remove this assignment of '_generateSlackMessageText' or initialize it statically. (https://rules.sonarsource.com/csharp/RSPEC-3010)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackLoggerConfigurationExtensions.cs#L93
Method has 34 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
Build and analyze with SonarCloud:
src/jjm.one.Serilog.Sinks.SlackWebHook/SlackSerilogBatchedLogEventSink.cs#L50
Remove this assignment of '_generateSlackMessageAttachments' or initialize it statically. (https://rules.sonarsource.com/csharp/RSPEC-3010)
|