Skip to content

[Bot] Always save valid donation count #45

[Bot] Always save valid donation count

[Bot] Always save valid donation count #45

Triggered via push February 3, 2024 23:24
Status Failure
Total duration 51s
Artifacts 1

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 6 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/.
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/Clash/Coc.cs#L22
"[InconsistentNaming] Name 's_clan' does not match rule 'Properties'. Suggested name is 'Clan'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(22,776)
inspect: Bot/Clash/Coc.cs#L93
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(93,2853)
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#L11
"[UnusedAutoPropertyAccessor.Global] Auto-property accessor 'DiscordId.get' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Sql/Member.cs(11,199)
inspect: Bot/Clash/ClanUtil.cs#L27
"[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/ClanUtil.cs(27,884)
inspect: Bot/Clash/ClanUtil.cs#L29
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(29,966)
inspect: Bot/Clash/ClanUtil.cs#L39
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(39,1314)
inspect: Bot/Clash/ClanUtil.cs#L47
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(47,1474)
inspect: Bot/Clash/ClanUtil.cs#L64
"[MemberCanBePrivate.Global] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/ClanUtil.cs(64,1937)
inspect: Bot/Clash/Coc.cs#L107
"[ArrangeTrailingCommaInMultilineLists] Remove trailing comma to conform to code style" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(107,3183)
inspect: Bot/Clash/Coc.cs#L120
"[InvertIf] Invert 'if' statement to reduce nesting" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(120,3621)
inspect: Bot/Clash/Coc.cs#L122
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(122,3784)
inspect: Bot/Clash/Coc.cs#L123
"[ArrangeObjectCreationWhenTypeNotEvident] Missing type specification" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(123,3934)
inspect: Bot/Clash/Coc.cs#L161
"[UseDeconstruction] Use deconstruction" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(161,5202)

Artifacts

Produced during runtime
Name Size
Bot Expired
8.38 MB