Skip to content

refactor: move CalculateFileSHA256 to utils #1446

refactor: move CalculateFileSHA256 to utils

refactor: move CalculateFileSHA256 to utils #1446

Triggered via pull request August 2, 2024 21:34
Status Failure
Total duration 22s
Artifacts

linters.yml

on: pull_request
markdown-lint
8s
markdown-lint
docker-lint
9s
docker-lint
shellcheck
9s
shellcheck
YAMLlint
3s
YAMLlint
golangci
12s
golangci
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
golangci: sztp-agent/pkg/secureagent/utils.go#L48
Error return value of `file.Close` is not checked (errcheck)
golangci: sztp-agent/pkg/secureagent/utils_test.go#L79
Error return value of `os.Remove` is not checked (errcheck)
golangci
issues found
golangci
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. 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