feat: status command #1483
linters.yml
on: pull_request
markdown-lint
5s
docker-lint
7s
shellcheck
8s
YAMLlint
4s
golangci
22s
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
|