Skip to content

[Bot] Fix trying to delete main when alt leaves #79

[Bot] Fix trying to delete main when alt leaves

[Bot] Fix trying to delete main when alt leaves #79

Triggered via push March 23, 2024 11:23
Status Success
Total duration 1m 3s
Artifacts 1

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 10 notices
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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: 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#L272
"[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(272,9725)
inspect: Bot/Clash/Coc.cs#L288
"[MemberCanBePrivate.Global] Method 'GetRaidSeasonAsync' can be made private" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(288,10215)
inspect: Bot/Clash/Coc.cs#L297
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitClanAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(297,10578)
inspect: Bot/Clash/Coc.cs#L298
"[MoveLocalFunctionAfterJumpStatement] Put local function 'InitRaidAsync' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Clash/Coc.cs(298,10671)
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)
inspect: Bot/Discord/Dc.cs#L62
"[MoveLocalFunctionAfterJumpStatement] Put local function 'ProcessViolator' after 'return'" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(62,2167)
inspect: Bot/Discord/Dc.cs#L129
"[UnusedMember.Global] Method 'SendLogAsync' is never used" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(129,4350)

Artifacts

Produced during runtime
Name Size
Bot Expired
8.8 MB