Skip to content

Fix/flashcard ux

Fix/flashcard ux #227

Triggered via pull request December 17, 2023 16:51
Status Success
Total duration 1m 3s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
build
The following actions uses node12 which is deprecated and will be forced to run on node16: simon-k/dotnet-code-coverage-badge@v1.0.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build: QuizAppApi/QuizAppApi/Workers/DiscussionCacheDbSyncWorker.cs#L93
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: QuizAppApi/QuizAppApi/Workers/DiscussionCacheDbSyncWorker.cs#L11
Non-nullable field '_serviceProvider' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: QuizAppApi/QuizAppApi/Services/LoginService.cs#L32
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
build: QuizAppApi/QuizAppApi/Services/FlashcardCollectionService.cs#L35
Possible null reference return.
build: QuizAppApi/QuizAppApi/Services/FlashcardCollectionService.cs#L71
Possible null reference assignment.
build: QuizAppApi/QuizAppApi/Services/FlashcardCollectionService.cs#L74
Possible null reference return.
build: QuizAppApi/QuizAppApi/Services/ExplanationService.cs#L24
Dereference of a possibly null reference.
build: QuizAppApi/QuizAppApi/Services/ExplanationService.cs#L40
The variable 'ex' is declared but never used
build: QuizAppApi/QuizAppApi/Services/ExplanationService.cs#L58
Possible null reference argument for parameter 'prompt' in 'Task<string?> ExplanationService.GenerateAnswer(string prompt)'.
build: QuizAppApi/QuizAppApi/Services/ExplanationService.cs#L63
Possible null reference argument for parameter 'prompt' in 'Task<string?> ExplanationService.GenerateAnswer(string prompt)'.