Skip to content

chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v37.415.0 #1071

chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v37.415.0

chore(deps): update pre-commit hook renovatebot/pre-commit-hooks to v37.415.0 #1071

Triggered via pull request December 21, 2023 19:16
Status Failure
Total duration 19s
Artifacts

linters.yml

on: pull_request
markdown-lint
5s
markdown-lint
docker-lint
6s
docker-lint
shellcheck
6s
shellcheck
YAMLlint
5s
YAMLlint
golangci
9s
golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci: sztp-agent/pkg/secureagent/daemon.go#L220
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L221
Error return value of `response.Body.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L233
Error return value of `f.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L262
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L299
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils.go#L90
Error return value of `res.Body.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/agent_test.go#L1005
Function 'TestProgressType_String' is too long (153 > 150) (funlen)
golangci: sztp-agent/pkg/secureagent/daemon_test.go#L707
Function 'TestAgent_copyConfigurationFile' is too long (151 > 150) (funlen)
golangci: sztp-agent/pkg/secureagent/daemon_test.go#L861
Function 'TestAgent_launchScriptsConfiguration' is too long (213 > 150) (funlen)
golangci: sztp-agent/pkg/secureagent/daemon.go#L296
string `-configuration script` has 3 occurrences, make it a constant (goconst)
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/sztp/sztp. Supported file pattern: go.sum