Skip to content

[Bot] Add basic support for alias #81

[Bot] Add basic support for alias

[Bot] Add basic support for alias #81

Triggered via push August 20, 2024 22:20
Status Failure
Total duration 55s
Artifacts 1

bot.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error, 10 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/
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,2992)
inspect: Bot/Discord/Cmds.cs#L118
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Cmds.cs(118,3379)
inspect: Bot/Discord/Dc.cs#L84
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(84,3022)
inspect: Bot/Discord/Dc.cs#L91
"[IDE0320] Anonymous function can be made static" on /home/runner/work/Hyperstellar/Hyperstellar/Bot/Discord/Dc.cs(91,3258)
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 array 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 array 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 Expired
8.65 MB