[Bot] Add some debug info #84
Annotations
1 error, 13 warnings, and 10 notices
inspect
Issues found.
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: 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:
Bot/Discord/Dc.cs#L39
Naming rule violation: Missing prefix: 's_' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide1006)
|
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: "Bot".
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/
|
inspect:
Bot/Clash/Phaser.cs#L61
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(61,1875)
|
inspect:
Bot/Clash/Phaser.cs#L62
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(62,1912)
|
inspect:
Bot/Discord/Cmds.cs#L108
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(108,3030)
|
inspect:
Bot/Discord/Cmds.cs#L118
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(118,3417)
|
inspect:
Bot/Discord/Dc.cs#L39
"[InconsistentNaming] Name 'readyCount' does not match rule 'static_fields_should_have_prefix'. Suggested name is 's_readyCount'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(39,1412)
|
inspect:
Bot/Discord/Dc.cs#L39
"[IDE1006] Naming rule violation: Missing prefix: 's_'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(39,1412)
|
inspect:
Bot/Discord/Dc.cs#L87
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(87,3144)
|
inspect:
Bot/Discord/Dc.cs#L94
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(94,3380)
|
inspect:
Bot/Sql/Db.cs#L8
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(8,233)
|
inspect:
Bot/Sql/Db.cs#L20
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Db.cs(20,556)
|
inspect:
Bot/Clash/Coc.cs#L136
"[RedundantExplicitParamsArrayCreation] Redundant explicit collection creation in argument of 'params' parameter" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(136,4845)
|
inspect:
Bot/Clash/Coc.cs#L144
"[MoveLocalFunctionAfterJumpStatement] Put local function 'WaitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(144,5011)
|
inspect:
Bot/Clash/Coc.cs#L278
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(278,9880)
|
inspect:
Bot/Clash/Coc.cs#L294
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(294,10370)
|
inspect:
Bot/Clash/Coc.cs#L303
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(303,10733)
|
inspect:
Bot/Clash/Coc.cs#L304
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(304,10826)
|
inspect:
Bot/Clash/Coc.cs#L313
"[RedundantExplicitParamsArrayCreation] Redundant explicit collection creation in argument of 'params' parameter" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(313,11145)
|
inspect:
Bot/Clash/Phaser.cs#L36
"[ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator] Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(36,1042)
|
inspect:
Bot/Clash/Phaser.cs#L45
"[ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator] Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(45,1363)
|
inspect:
Bot/Clash/Phaser.cs#L247
"[MemberCanBePrivate.Global] Method 'IsDatetimeExpired' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Phaser.cs(247,7957)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bot
|
8.73 MB |
|