Skip to content

Bump SonarAnalyzer.CSharp from 9.12.0.78982 to 9.32.0.97167 #248

Bump SonarAnalyzer.CSharp from 9.12.0.78982 to 9.32.0.97167

Bump SonarAnalyzer.CSharp from 9.12.0.78982 to 9.32.0.97167 #248

Triggered via pull request October 3, 2024 02:15
Status Success
Total duration 2m 27s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@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: test/SmartEnum.Dapper.IntegrationTests/SmartEnumDapperTests.cs#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
build: src/SmartEnum/SmartEnum.cs#L64
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartEnumComparerAttribute.cs#L34
Specify AttributeUsage on 'SmartEnumStringComparerAttribute' to improve readability, even though it inherits it from its base type. (https://rules.sonarsource.com/csharp/RSPEC-3993)
build: src/SmartEnum/SmartEnumNameAttribute.cs#L18
Specify AttributeUsage on 'SmartEnumNameAttribute'. (https://rules.sonarsource.com/csharp/RSPEC-3993)
build: src/SmartEnum/SmartFlagEnum.cs#L103
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartFlagEnum.cs#L190
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartFlagEnum.cs#L234
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartFlagEnum.cs#L253
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartFlagEngine.cs#L72
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartEnum.cs#L251
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
build: src/SmartEnum/SmartEnum.cs#L220
Use a comparison to 'default(TValue)' instead or add a constraint to 'TValue' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "code-coverage-results", "pr-number". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
code-coverage-results Expired
316 Bytes
pr-number Expired
4 Bytes