Add golangci-lint config and CI step #47
ci.yaml
on: pull_request
Annotations
14 errors and 1 warning
build:
pkg/dhcpd/dhcphandlers_test.go#L520
Error return value of `pool.Allocate` is not checked (errcheck)
|
build:
pkg/dhcpd/dhcphandlers_test.go#L521
Error return value of `pool.Allocate` is not checked (errcheck)
|
build:
pkg/dhcpd/dhcphandlers_test.go#L522
Error return value of `pool.Allocate` is not checked (errcheck)
|
build:
pkg/agent/dozer/bcm/spec_route_maps.go#L205
Error return value of `statements.Append` is not checked (errcheck)
|
build:
api/wiring/v1alpha2/connection_types.go#L366
string `<invalid>` has 8 occurrences, make it a constant (goconst)
|
build:
api/vpc/v1alpha2/external_types.go#L97
string `default` has 7 occurrences, make it a constant (goconst)
|
build:
pkg/dhcpd/dhcphandlers_test.go#L60
string `Vlan2000` has 14 occurrences, make it a constant (goconst)
|
build:
pkg/dhcpd/dhcphandlers_test.go#L215
string `VrfV15` has 3 occurrences, make it a constant (goconst)
|
build:
pkg/dhcpd/dhcphandlers_test.go#L300
string `VrfV16` has 4 occurrences, make it a constant (goconst)
|
build:
pkg/hhfctl/connection.go#L49
string `custom-columns=` has 3 occurrences, make it a constant (goconst)
|
kind-test-api
Canceling since a higher priority waiting request for 'ci-lint' exists
|
kind-test-api
The operation was canceled.
|
test
Canceling since a higher priority waiting request for 'ci-lint' exists
|
test
The operation was canceled.
|
test
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 1
|