Skip to content

fix: CI Docker build #12

fix: CI Docker build

fix: CI Docker build #12

Triggered via pull request March 9, 2025 19:20
Status Failure
Total duration 33s
Artifacts

lint.yaml

on: pull_request
Lint Go code
24s
Lint Go code
Run buf
6s
Run buf
Fit to window
Zoom out
Zoom in

Annotations

11 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
golangci-lint exit with code 5
Lint Go code
Cache not found for keys: setup-go-Linux-x64-ubuntu24-go-1.23.7-37f7ad4988fcb77b4bb42d4241cdf5adca8251339e2bc866538f0eeb47e81bd8