Skip to content

Try main instead?

Try main instead? #6

Triggered via push January 16, 2024 03:38
Status Failure
Total duration 50s
Artifacts 1

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 12 warnings, and 10 notices
inspect
Issues found.
dotnet-inspect
The following actions uses node12 which is deprecated and will be forced to run on node16: dotnet/code-analysis@main. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
dotnet-inspect
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/
inspect: Bot/Coc.cs#L17
"[NotAccessedField.Local] Field 'Clan' is assigned but its value is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(17,342)
inspect: Bot/Coc.cs#L20
"[CollectionNeverQueried.Local] Content of collection 'JoiningMembers' is only updated but never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(20,555)
inspect: Bot/Coc.cs#L42
"[UnusedParameter.Local] Parameter 'init' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(42,1271)
inspect: Bot/Coc.cs#L58
"[UnusedType.Local] Class 'MemberComparer' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(58,1638)
inspect: Bot/Coc.cs#L66
"[UnusedMember.Local] Constant 'DimId' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(66,1928)
inspect: Bot/Coc.cs#L67
"[InconsistentNaming] Name 's_client' does not match rule 'Static readonly fields (not private)'. Suggested name is 'SClient'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(67,1998)
inspect: Bot/Coc.cs#L70
"[InconsistentNaming] Name 's_prevClan' does not match rule 'Static fields (private)'. Suggested name is '_sPrevClan'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(70,2197)
inspect: Bot/Coc.cs#L81
"[ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract] Expression is always false according to nullable reference types' annotations" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(81,2574)
inspect: Bot/Coc.cs#L118
"[FunctionNeverReturns] Function never returns" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(118,3771)
inspect: Bot/Discord.cs#L14
"[InconsistentNaming] Name 's_bot' does not match rule 'Static readonly fields (private)'. Suggested name is 'SBot'." on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord.cs(14,296)
inspect: Bot/Coc.cs#L6
"[ClassNeverInstantiated.Global] Class 'Coc' is never instantiated" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(6,88)
inspect: Bot/Coc.cs#L20
"[MemberCanBePrivate.Local] Field 'JoiningMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(20,506)
inspect: Bot/Coc.cs#L21
"[MemberCanBePrivate.Local] Field 'LeavingMembers' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(21,584)
inspect: Bot/Coc.cs#L26
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(26,767)
inspect: Bot/Coc.cs#L45
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(45,1341)
inspect: Bot/Coc.cs#L52
"[MemberCanBePrivate.Local] Method 'HasMember' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(52,1498)
inspect: Bot/Coc.cs#L52
"[SuggestBaseTypeForParameter] Parameter can be of type 'ClashOfClans.Models.Identity'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(52,1522)
inspect: Bot/Coc.cs#L67
"[MemberCanBePrivate.Global] Field 's_client' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(67,1954)
inspect: Bot/Coc.cs#L91
"[SuggestVarOrType_BuiltInTypes] Use 'var' (built-in types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(91,2904)
inspect: Bot/Coc.cs#L93
"[SuggestVarOrType_SimpleTypes] Use 'var' (simple types)" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Coc.cs(93,2967)

Artifacts

Produced during runtime
Name Size
Bot Expired
5.48 MB