Skip to content

Update build-and-test.yml to run sonar scanner and upload to sonar cloud #4

Update build-and-test.yml to run sonar scanner and upload to sonar cloud

Update build-and-test.yml to run sonar scanner and upload to sonar cloud #4

Triggered via pull request September 27, 2023 15:31
Status Success
Total duration 8m 36s
Artifacts 1

build-and-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: darenm/Setup-VSTest@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: Web/Edubase.Common/Cache/CacheConfig.cs#L45
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build: Web/Edubase.Common/IO/DirectoryHelper.cs#L10
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
build: Web/Edubase.Common/IO/FileHelper.cs#L222
All 'GetExtension' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: Web/Edubase.Common/IO/FileHelper.cs#L292
All 'GenerateRandomFileName' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: Web/Edubase.Common/Cache/eCacheEvent.cs#L3
Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$'. (https://rules.sonarsource.com/csharp/RSPEC-2342)
build: Web/Edubase.Common/IO/FileHelper.cs#L10
Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?$'. (https://rules.sonarsource.com/csharp/RSPEC-2342)
build: Web/Edubase.Common/Cache/ICacheAccessor.cs#L43
All 'GetAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: Web/Edubase.Common/Cache/ICacheAccessor.cs#L51
All 'Get' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: Web/Edubase.Common/LanguageExtensions.cs#L46
All 'ToInteger' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: Web/Edubase.Common/LanguageExtensions.cs#L116
All 'Append' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)

Artifacts

Produced during runtime
Name Size
dotnet-results-6.0.x Expired
42.5 MB