Skip to content

[Bot] Add Donate25 (unoptimised) #44

[Bot] Add Donate25 (unoptimised)

[Bot] Add Donate25 (unoptimised) #44

Triggered via push February 2, 2024 00:39
Status Failure
Total duration 1m 1s
Artifacts 1

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 7 warnings, and 10 notices
inspect
Issues found.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Bot/Dc/Discord.cs#L36
Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008)
inspect
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/.
inspect: Bot/Coc.cs#L161
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(161,5321)
inspect: Bot/Dc/Discord.cs#L36
"[IDE0008] Use explicit type instead of 'var'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Dc/Discord.cs(36,1108)
inspect: Bot/Sql/Donation.cs#L11
"[RedundantDefaultMemberInitializer] Initializing property by default value is redundant" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Donation.cs(11,228)
inspect: Bot/Sql/Member.cs#L10
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'DiscordId.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Member.cs(10,173)
inspect: Bot/Coc.cs#L31
"[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/Coc.cs(31,1043)
inspect: Bot/Coc.cs#L33
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(33,1133)
inspect: Bot/Coc.cs#L43
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(43,1521)
inspect: Bot/Coc.cs#L51
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(51,1709)
inspect: Bot/Coc.cs#L68
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(68,2228)
inspect: Bot/Coc.cs#L68
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(68,2252)
inspect: Bot/Coc.cs#L74
"[FieldCanBeMadeReadOnly.Local] Field can be made readonly" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(74,2448)
inspect: Bot/Coc.cs#L175
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(175,5651)
inspect: Bot/Coc.cs#L188
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(188,6089)
inspect: Bot/Coc.cs#L190
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(190,6252)

Artifacts

Produced during runtime
Name Size
Bot Expired
8.38 MB