Skip to content

Merge pull request #195 from AndrewCS149/testWorkflow #46

Merge pull request #195 from AndrewCS149/testWorkflow

Merge pull request #195 from AndrewCS149/testWorkflow #46

Triggered via push April 19, 2024 19:54
Status Failure
Total duration 1m 40s
Artifacts 2

staging.yml

on: push
Copy Files
9s
Copy Files
Restart Containers
0s
Restart Containers
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
Copy Files
Process completed with exit code 1.
Build Server: server/Data/AppDbMigrations/20240302173732_initial.cs#L10
The type name 'initial' only contains lower-cased ascii characters. Such names may become reserved for the language.
Build Server: server/Data/AppDbMigrations/20240302173732_initial.Designer.cs#L15
The type name 'initial' only contains lower-cased ascii characters. Such names may become reserved for the language.
Build Server: server/Data/UserDb/20230220195545_initialuserdb.cs#L10
The type name 'initialuserdb' only contains lower-cased ascii characters. Such names may become reserved for the language.
Build Server: server/Data/UserDb/20230220195545_initialuserdb.Designer.cs#L15
The type name 'initialuserdb' only contains lower-cased ascii characters. Such names may become reserved for the language.
Build Server: server/Controllers/VotesController.cs#L53
Possible null reference argument for parameter 'username' in 'Task<int> IVoteService.UpVote(int postId, string username)'.
Build Server: server/Controllers/VotesController.cs#L69
Possible null reference argument for parameter 'username' in 'Task<int> IVoteService.DownVote(int postId, string username)'.
Build Server: server/Services/VoteService.cs#L23
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 Server: server/Controllers/PostsController.cs#L105
Possible null reference argument for parameter 'imgs' in 'Task IImgService.DeleteImgFromDropBox(List<Img> imgs)'.
Build Server: server/Services/VoteService.cs#L34
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 Server: server/Controllers/CommentsController.cs#L58
Possible null reference argument for parameter 'source' in 'IOrderedEnumerable<Comment> Enumerable.OrderByDescending<Comment, int>(IEnumerable<Comment> source, Func<Comment, int> keySelector)'.
Build Client
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
clientArtifact Expired
138 MB
serverArtifact Expired
6.26 MB