Skip to content

Attempt of using generics instead of interface{} in component's #1378

Attempt of using generics instead of interface{} in component's

Attempt of using generics instead of interface{} in component's #1378

Triggered via push July 1, 2024 15:05
Status Failure
Total duration 6m 43s
Artifacts

ci.yml

on: push
Matrix: Compile & Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Compile & Test (1.22, ubuntu-latest): config/generic/component.go#L8
comment on exported type ConfigurableComponent should be of the form "ConfigurableComponent ..." (with optional leading article)
Compile & Test (1.22, ubuntu-latest): config/generic/component.go#L14
comment on exported type ProviderOf should be of the form "ProviderOf ..." (with optional leading article)
Compile & Test (1.22, ubuntu-latest): config/generic/example_component.go#L15
comment on exported type TestProvider should be of the form "TestProvider ..." (with optional leading article)
Compile & Test (1.22, ubuntu-latest): config/generic/example_component.go#L18
comment on exported method TestProvider.Provide should be of the form "Provide ..."
Compile & Test (1.22, ubuntu-latest): config/generic/example_component.go#L23
exported method TestProvider.DefaultConfig should have comment or be unexported
Compile & Test (1.22, ubuntu-latest): config/generic/example_component.go#L23
exported method DefaultConfig returns unexported type *generic.myComponentConfig, which can be annoying to use
Compile & Test (1.22, ubuntu-latest): config/generic/example_component.go#L27
exported method TestProvider.FromConfig should have comment or be unexported
Compile & Test (1.22, ubuntu-latest): config/generic/example_component.go#L27
exported method FromConfig returns unexported type *generic.myComponent, which can be annoying to use
Compile & Test (1.22, ubuntu-latest): config/generic/target.go#L3
exported type Target should have comment or be unexported
Compile & Test (1.22, ubuntu-latest)
Process completed with exit code 2.
Compile & Test (1.22, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, softprops/turnstyle@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Compile & Test (1.22, ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: softprops/turnstyle@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Compile & Test (1.22, ubuntu-latest)
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/
Compile & Test (1.22, ubuntu-latest)
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/