Skip to content

Added linter and removed deprecated and unused packages #1

Added linter and removed deprecated and unused packages

Added linter and removed deprecated and unused packages #1

Triggered via pull request April 8, 2024 16:31
Status Failure
Total duration 26s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: monitor/monitor.go#L131
Error return value of `m.cache.Replace` is not checked (errcheck)
build: cmd/cluster.go#L750
Error return value of `json.Unmarshal` is not checked (errcheck)
build: cmd/common.go#L464
Error return value of `cli.ShowAppHelp` is not checked (errcheck)
build: cmd/server.go#L178
Error return value is not checked (errcheck)
build: monitor/monitor.go#L126
func `(*Monitor).put` is unused (unused)
build: monitor/monitor.go#L141
func `(*Monitor).watch` is unused (unused)
build: cmd/common.go#L46
var `errNoURL` is unused (unused)
build: cmd/common.go#L522
func `parseClusterAndProjectName` is unused (unused)
build: cmd/common.go#L580
func `settingsToMap` is unused (unused)
build: cmd/common.go#L702
func `tickerContext` is unused (unused)
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.