Skip to content

fix: report more progress in new places #1149

fix: report more progress in new places

fix: report more progress in new places #1149

Triggered via push June 7, 2024 02:02
Status Failure
Total duration 23s
Artifacts

linters.yml

on: push
markdown-lint
6s
markdown-lint
docker-lint
7s
docker-lint
shellcheck
6s
shellcheck
YAMLlint
5s
YAMLlint
golangci
12s
golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci: sztp-agent/pkg/secureagent/daemon.go#L221
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L222
Error return value of `response.Body.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L234
Error return value of `f.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L265
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L305
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils.go#L84
Error return value of `res.Body.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/daemon.go#L273
G302: Expect file permissions to be 0600 or less (gosec)
golangci: sztp-agent/pkg/secureagent/daemon.go#L300
G304: Potential file inclusion via variable (gosec)
golangci: sztp-agent/pkg/secureagent/daemon.go#L313
G302: Expect file permissions to be 0600 or less (gosec)
golangci: sztp-agent/pkg/secureagent/utils.go#L30
G304: Potential file inclusion via variable (gosec)
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/sztp/sztp. Supported file pattern: go.sum