chore: CI improvements #2
lint.yaml
on: pull_request
Lint Go code
48s
Run buf
8s
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 (typecheck)
|
|
Lint Go code:
internal/auth/manager_test.go#L20
undefined: NewCacheMock (typecheck)
|
|
Lint Go code:
internal/auth/manager_test.go#L33
s.Assert undefined (type *tagManagerTestSuite has no field or method Assert) (typecheck)
|
|
Lint Go code
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.0-618b5d9e5e9c1645e908f8061c77597d310bc5f2b027e247f1e31ac114156db2
|