Skip to content

Fix:(issue_2066) Remove dependency on golang flag library #388

Fix:(issue_2066) Remove dependency on golang flag library

Fix:(issue_2066) Remove dependency on golang flag library #388

Triggered via pull request March 14, 2025 21:40
Status Failure
Total duration 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 3 warnings
format
Process completed with exit code 1.
golangci-lint
issues found
golangci-lint: flag_bool_with_inverse_test.go#L52
SA4006: this value of `r` is never used (staticcheck)
golangci-lint: flag_bool_with_inverse_test.go#L446
SA4006: this value of `checkAndReset` is never used (staticcheck)
golangci-lint: flag_test.go#L700
Error return value of `cmd.Set` is not checked (errcheck)
golangci-lint: flag_test.go#L81
Error return value of `cmd.Set` is not checked (errcheck)
golangci-lint: flag_test.go#L80
Error return value of `cmd.Set` is not checked (errcheck)
golangci-lint: flag_impl.go#L291
Error return value of `f.PreParse` is not checked (errcheck)
golangci-lint: flag_impl.go#L194
Error return value of `f.PreParse` is not checked (errcheck)
golangci-lint: command_test.go#L3562
Error return value of `pCmd.Run` is not checked (errcheck)
staticcheck
Process completed with exit code 1.
staticcheck: flag_bool_with_inverse_test.go#L446
this value of checkAndReset is never used (SA4006)
staticcheck: flag_bool_with_inverse_test.go#L52
this value of r is never used (SA4006)
format
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum
staticcheck
Restore cache failed: Dependencies file is not found in /home/runner/work/cli/cli. Supported file pattern: go.sum