feat: added policy title and creator #2439
Annotations
14 errors and 3 warnings
test (1.21.x, ubuntu-latest):
internal/server/server.go#L137
undefined: authenticatedUserEmailContextKey
|
test (1.21.x, ubuntu-latest):
internal/server/services.go#L195
undefined: authenticatedUserEmailContextKey
|
test (1.21.x, ubuntu-latest):
core/provider/service_test.go#L45
cannot use s.mockProviderRepository (variable of type *mocks.Repository) as provider.repository value in struct literal: *mocks.Repository does not implement provider.repository (missing method GetByURN)
|
test (1.21.x, ubuntu-latest)
Process completed with exit code 2.
|
lint:
internal/server/auth.go#L1
: # github.com/raystack/guardian/internal/server
|
lint:
internal/server/server.go#L137
undefined: authenticatedUserEmailContextKey
|
lint:
internal/server/services.go#L195
undefined: authenticatedUserEmailContextKey (typecheck)
|
lint:
cli/job.go#L9
could not import github.com/raystack/guardian/internal/server (-: # github.com/raystack/guardian/internal/server
|
lint:
internal/server/server.go#L137
undefined: authenticatedUserEmailContextKey
|
lint:
internal/server/services.go#L195
undefined: authenticatedUserEmailContextKey) (typecheck)
|
lint:
cli/policy.go#L160
not enough arguments in call to adapter.FromPolicyProto
|
lint:
cli/policy.go#L468
not enough arguments in call to adapter.FromPolicyProto
|
lint:
core/provider/common_test.go#L1
: # github.com/raystack/guardian/core/provider_test [github.com/raystack/guardian/core/provider.test]
|
lint:
core/provider/service_test.go#L45
cannot use s.mockProviderRepository (variable of type *mocks.Repository) as provider.repository value in struct literal: *mocks.Repository does not implement provider.repository (missing method GetByURN) (typecheck)
|
test (1.21.x, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The `save-state` 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/
|