chore: CI improvements #4
lint.yaml
on: pull_request
Lint Go code
57s
Run buf
5s
Annotations
20 errors and 1 warning
|
Run buf:
proto/v1/api.proto#L3
Files with package "v1.api" must be within a directory "v1/api" relative to root but were in directory "v1".
|
|
Run buf:
proto/v1/api.proto#L3
Package name "v1.api" should be suffixed with a correctly formed version, such as "v1.api.v1".
|
|
Run buf:
proto/v1/api.proto#L9
Service name "ChargePoint" should be suffixed with "Service".
|
|
Run buf:
proto/v1/api.proto#L31
RPC response type "GetVariablesResponse" should be named "GetOCPPVariablesResponse" or "ChargePointGetOCPPVariablesResponse".
|
|
Run buf:
proto/v1/api.proto#L32
RPC request type "SetVariablesRequest" should be named "SetOCPPVariablesRequest" or "ChargePointSetOCPPVariablesRequest".
|
|
Run buf:
proto/v1/api.proto#L32
RPC response type "SetVariablesResponse" should be named "SetOCPPVariablesResponse" or "ChargePointSetOCPPVariablesResponse".
|
|
Run buf:
proto/v1/api.proto#L33
RPC request type "GetVariableRequest" should be named "GetOCPPVariableRequest" or "ChargePointGetOCPPVariableRequest".
|
|
Run buf:
proto/v1/api.proto#L33
RPC response type "OcppVariable" should be named "GetOCPPVariableResponse" or "ChargePointGetOCPPVariableResponse".
|
|
Run buf:
proto/v1/api.proto#L45
Field name "ConnectionSettings" should be lower_snake_case, such as "connection_settings".
|
|
Run buf:
proto/v1/api.proto#L49
Field name "ConnectionSettings" should be lower_snake_case, such as "connection_settings".
|
|
Lint Go code:
pkg/reader/TagReader_linux.go#L11
could not import github.com/clausecker/nfc/v2 (-: # github.com/clausecker/nfc/v2
|
|
Lint Go code:
pkg/reader/TagReader_linux.go#L31
undefined: nfc (typecheck)
|
|
Lint Go code:
pkg/reader/TagReader_linux.go#L17
undefined: nfc (typecheck)
|
|
Lint Go code:
pkg/reader/TagReader_linux.go#L18
undefined: nfc (typecheck)
|
|
Lint Go code:
internal/chargepoint/main.go#L33
undefined: chargePoint (typecheck)
|
|
Lint Go code:
internal/api/grpc/charge-point.go#L19
undefined: chargePoint (typecheck)
|
|
Lint Go code:
internal/api/grpc/charge-point.go#L23
undefined: chargePoint (typecheck)
|
|
Lint Go code:
internal/auth/manager_test.go#L19
undefined: NewLocalAuthListMock
|
|
Lint Go code:
internal/auth/manager_test.go#L20
undefined: NewCacheMock
|
|
Lint Go code:
internal/auth/manager_test.go#L37
undefined: NewLocalAuthListMock
|
|
Lint Go code
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.0-6c186940fdf6a97114d53d744c3e5838015882880436a134e9e6f66c7d1eab7e
|