Skip to content

feat: status command #1483

feat: status command

feat: status command #1483

Triggered via pull request October 24, 2024 20:44
Status Failure
Total duration 31s
Artifacts

linters.yml

on: pull_request
markdown-lint
5s
markdown-lint
docker-lint
7s
docker-lint
shellcheck
8s
shellcheck
YAMLlint
4s
YAMLlint
golangci
22s
golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci: sztp-agent/pkg/secureagent/status.go#L189
Error return value of `a.updateAndSaveResult` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/status_test.go#L72
Error return value of `a.prepareStatus` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils.go#L98
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils.go#L130
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils.go#L145
Error return value of `os.Remove` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils_test.go#L87
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils_test.go#L106
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils_test.go#L125
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils_test.go#L153
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils_test.go#L177
Error return value of `os.RemoveAll` is not checked (errcheck)
golangci
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/
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/sztp/sztp. Supported file pattern: go.sum