Skip to content

initial (WIP)

initial (WIP) #780

Triggered via pull request February 27, 2024 16:44
Status Failure
Total duration 1m 57s
Artifacts

static-check.yml

on: pull_request
staticcheck (project)
1m 47s
staticcheck (project)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
staticcheck (project): backend/agentd/session.go#L98
field userConfig is unused (U1000)
staticcheck (project): backend/agentd/session.go#L118
type userConfig is unused (U1000)
staticcheck (project): backend/agentd/session.go#L130
func (*userConfig).Receiver is unused (U1000)
staticcheck (project): backend/agentd/session.go#L361
this value of ok is never used (SA4006)
staticcheck (project): backend/agentd/session.go#L362
empty branch (SA9003)
staticcheck (project): backend/agentd/watcher.go#L76
argument ctx is overwritten before first use (SA4009)
staticcheck (project): backend/agentd/watcher.go#L77
assignment to ctx
staticcheck (project)
Process completed with exit code 1.
staticcheck (project)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
staticcheck (project)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/