Skip to content

add TimeProvider (#88) #149

add TimeProvider (#88)

add TimeProvider (#88) #149

Triggered via push January 31, 2024 16:34
Status Success
Total duration 1m 2s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/XboxPromotionCheckerBot.App/Infrastructure/Extensions/WebApplicationBuilderExtensions.cs#L27
Possible null reference argument for parameter 'connection' in 'IMongoClient MongoDbSetup.MongoClient(string connection)'.
build: src/XboxPromotionCheckerBot.App/Infrastructure/Extensions/WebApplicationBuilderExtensions.cs#L39
Possible null reference argument for parameter 'webhookurl' in 'DiscordWebhookClient WebApplicationBuilderExtensions.CreateDiscordWebhookClient(string webhookurl)'.
build: src/XboxPromotionCheckerBot.App/Infrastructure/Extensions/WebApplicationBuilderExtensions.cs#L45
Possible null reference argument for parameter 'filePath' in 'GameNameFilter FuzzyGameSearcherFactory.Produce(string filePath)'.
build: src/XboxPromotionCheckerBot.App/Infrastructure/Factories/FuzzyGameSearcherFactory.cs#L15
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/XboxPromotionCheckerBot.App/Core/Filters/GameNameFilter.cs#L7
Non-nullable field '_normalizedTitle' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: src/XboxPromotionCheckerBot.App/Infrastructure/MongoDb/MongoXboxGame.cs#L16
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/XboxPromotionCheckerBot.App/Infrastructure/MongoDb/MongoXboxGame.cs#L16
Non-nullable property 'Link' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: src/XboxPromotionCheckerBot.App/Core/Crypto/IdGenerator.cs#L21
GenerateId uses a broken cryptographic algorithm MD5 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca5351)
build: src/XboxPromotionCheckerBot.App/Infrastructure/Factories/FuzzyGameSearcherFactory.cs#L13
'FuzzyGameSearcherFactory.Game' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: tests/XboxPromotionCheckerBot.App.Tests/Core/Extensions/AsyncEnumerableExtensionsTests.cs#L17
Async-iterator 'Filter1.Filter(IAsyncEnumerable<XboxGame>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed

Artifacts

Produced during runtime
Name Size
dotnet-results Expired
6.64 KB