add HSP IAM audit capabilities #333
ci.yaml
on: pull_request
Lint - golangci-lint
39s
Tests - Executing unit tests
1m 21s
Build - Building and publishig Docker images
0s
Annotations
9 errors and 4 warnings
Lint - golangci-lint:
pkg/audit/audit_client.go#L16
type name will be used as audit.AuditClientOpts by other packages, and that stutters; consider calling this ClientOpts (golint)
|
Lint - golangci-lint:
pkg/audit/audit_client.go#L18
struct field `Url` should be `URL` (golint)
|
Lint - golangci-lint:
pkg/audit/audit_client.go#L26
type name will be used as audit.AuditClient by other packages, and that stutters; consider calling this Client (golint)
|
Lint - golangci-lint:
pkg/audit/audit_client.go#L55
method parameter `appUrl` should be `appURL` (golint)
|
Lint - golangci-lint:
pkg/audit/audit_client.go#L59
method parameter `appUrl` should be `appURL` (golint)
|
Lint - golangci-lint:
pkg/audit/audit_client.go#L63
method parameter `appUrl` should be `appURL` (golint)
|
Lint - golangci-lint:
pkg/audit/audit_client.go#L135
receiver name c should be consistent with previous receiver name a for AuditClient (golint)
|
Lint - golangci-lint:
pkg/audit/audit_event.go#L110
type name will be used as audit.AuditEvent by other packages, and that stutters; consider calling this Event (golint)
|
Lint - golangci-lint
issues found
|
Lint - golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, 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/.
|
Tests - Executing unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, vazco/github-actions-branch-name@v1, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests - Executing unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: vazco/github-actions-branch-name@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Tests - Executing unit tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|