Skip to content

Update To Net 8

Update To Net 8 #32

Triggered via pull request May 1, 2024 23:43
@AxemastaAxemasta
synchronize #37
chore/net-8
Status Success
Total duration 6m 19s
Artifacts

mocale-ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, 5monkeys/cobertura-action@v13. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: 5monkeys/cobertura-action@v13. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: src/Mocale/Managers/TranslatorManager.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Managers/TranslatorManager.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Managers/TranslatorManager.cs#L19
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Managers/TranslatorManager.cs#L21
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Models/ExternalLocalizationResult.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Models/ExternalLocalizationResult.cs#L7
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Models/Localization.cs#L8
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Providers/EmbeddedResourceProvider.cs#L40
Prefer comparing 'Count' to 0 rather than using 'Any()', both for clarity and for performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1860)
build: src/Mocale/Providers/EmbeddedResourceProvider.cs#L84
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
build: src/Mocale/Parsers/ResxLocalizationParser.cs#L10
Use primary constructor (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0290)