use ParseAuthorizedKey
instead of string parsing of the public key
#1323
linters.yml
on: pull_request
markdown-lint
6s
docker-lint
5s
shellcheck
10s
YAMLlint
4s
golangci
17s
Annotations
4 errors and 2 warnings
golangci:
sztp-agent/pkg/secureagent/daemon_test.go#L113
Error return value of `f.Close` is not checked (errcheck)
|
golangci:
sztp-agent/pkg/secureagent/daemon_test.go#L116
exitAfterDefer: log.Fatal will exit, and `defer f.Close()` will not run (gocritic)
|
golangci:
sztp-agent/pkg/secureagent/utils.go#L18
File is not `goimports`-ed (goimports)
|
golangci
issues found
|
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
|