Update build.yml #41
Annotations
11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: cake-build/cake-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build:
src/Internal/SecurityTextContainer.cs#L185
Make 'ValidateContact' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
src/Internal/SecurityTextContainer.cs#L221
Make 'ValidateRedirectUrl' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
src/Internal/SecurityTextContainer.cs#L185
Make 'ValidateContact' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
src/Internal/SecurityTextContainer.cs#L221
Make 'ValidateRedirectUrl' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
src/Internal/SecurityTextContainer.cs#L185
Make 'ValidateContact' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
src/Internal/SecurityTextContainer.cs#L221
Make 'ValidateRedirectUrl' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
build:
tests/CHG.Extensions.Security.Txt.Tests/SecurityTextContainerTests.cs#L9
Add some tests to this class. (https://rules.sonarsource.com/csharp/RSPEC-2187)
|
build:
tests/CHG.Extensions.Security.Txt.Tests/SecurityTextBuilderTests.cs#L12
Add some tests to this class. (https://rules.sonarsource.com/csharp/RSPEC-2187)
|
build:
samples/DemoWebApplication/Program.cs#L31
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
build:
samples/DemoWebApplication/Program.cs#L28
Await RunAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|