Skip to content

fix: CI Docker build #21

fix: CI Docker build

fix: CI Docker build #21

Triggered via pull request March 9, 2025 20:32
Status Failure
Total duration 1m 10s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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.7-73e704700afccffff704e600e1deb670c0ec6089c8dc43d47d7fc2f4441462a2