Skip to content

refactor: unify http client creation #1470

refactor: unify http client creation

refactor: unify http client creation #1470

Triggered via pull request August 17, 2024 13:06
Status Failure
Total duration 27s
Artifacts

linters.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
golangci: sztp-agent/pkg/secureagent/tls.go#L26
G304: Potential file inclusion via variable (gosec)
golangci: sztp-agent/pkg/secureagent/tls.go#L25
exported: exported function NewHttpClient should have comment or be unexported (revive)
golangci
issues found
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