Skip to content

Add gocyclo to local and CI lint #818

Add gocyclo to local and CI lint

Add gocyclo to local and CI lint #818

Triggered via pull request November 10, 2024 09:51
Status Failure
Total duration 5m 21s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 6 warnings
windows: pkg/visor/visorconfig/values_windows.go#L174
Error return value of `windows.FreeSid` is not checked (errcheck)
windows: pkg/util/osutil/privileges_windows.go#L16
unused-parameter: parameter 'oldUID' seems to be unused, consider removing or renaming it as _ (revive)
windows: pkg/visor/visorconfig/values_windows.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
windows
Process completed with exit code 1.
darwin
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
darwin
Restore cache failed: Dependencies file is not found in /Users/runner/work/skywire/skywire. Supported file pattern: go.sum
linux
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
linux
Restore cache failed: Dependencies file is not found in /home/runner/work/skywire/skywire. Supported file pattern: go.sum
windows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
windows
Restore cache failed: Dependencies file is not found in D:\a\skywire\skywire. Supported file pattern: go.sum