Skip to content

Bump github.com/oapi-codegen/oapi-codegen/v2 from 2.3.0 to 2.4.1 #4

Bump github.com/oapi-codegen/oapi-codegen/v2 from 2.3.0 to 2.4.1

Bump github.com/oapi-codegen/oapi-codegen/v2 from 2.3.0 to 2.4.1 #4

Triggered via pull request December 2, 2024 11:02
Status Failure
Total duration 11m 6s
Artifacts

go-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint-go: pkg/codegen/generators/go_generator.go#L16
could not import github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen (-: # github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen
lint-go
v.Extensions undefined (type *openapi3.SchemaRef has no field or method Extensions)) (typecheck)
lint-go: pkg/services/accesscontrol/ossaccesscontrol/receivers.go#L71
cannot use new(ReceiverPermissionsService) (value of type *ReceiverPermissionsService) as "github.com/grafana/grafana/pkg/services/accesscontrol".ReceiverPermissionsService value in variable declaration: *ReceiverPermissionsService does not implement "github.com/grafana/grafana/pkg/services/accesscontrol".ReceiverPermissionsService (missing method GetPermissions) (typecheck)
lint-go: pkg/services/accesscontrol/ossaccesscontrol/receivers.go#L129
r.GetPermissions undefined (type ReceiverPermissionsService has no field or method GetPermissions) (typecheck)
lint-go: pkg/services/accesscontrol/ossaccesscontrol/receivers.go#L135
r.SetPermissions undefined (type ReceiverPermissionsService has no field or method SetPermissions) (typecheck)
lint-go: pkg/services/accesscontrol/ossaccesscontrol/receivers.go#L97
r.SetPermissions undefined (type ReceiverPermissionsService has no field or method SetPermissions) (typecheck)
lint-go: pkg/services/accesscontrol/ossaccesscontrol/receivers.go#L167
r.MapActions undefined (type ReceiverPermissionsService has no field or method MapActions) (typecheck)
lint-go: pkg/services/ngalert/tests/fakes/permissions.go#L28
cannot use new(FakeReceiverPermissionsService) (value of type *FakeReceiverPermissionsService) as accesscontrol.ReceiverPermissionsService value in variable declaration: *FakeReceiverPermissionsService does not implement accesscontrol.ReceiverPermissionsService (missing method DeleteResourcePermissions) (typecheck)
lint-go: pkg/plugins/manager/signature/manifest_test.go#L363
f.Base undefined (type fsPathSeparatorFiles has no field or method Base) (typecheck)
lint-go: pkg/server/wire_gen.go#L1268
undefined: apiregistry (typecheck)