Skip to content

build(linter): update linter to v1.64.5 and fix issues #636

build(linter): update linter to v1.64.5 and fix issues

build(linter): update linter to v1.64.5 and fix issues #636

Triggered via pull request February 15, 2025 16:00
Status Failure
Total duration 47s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
lint: drivers/aio/analog_actuator_driver.go#L64
right hand must be only type assertion (forcetypeassert)
lint: drivers/aio/analog_actuator_driver.go#L72
right hand must be only type assertion (forcetypeassert)
lint: drivers/gpio/direct_pin_driver.go#L36
right hand must be only type assertion (forcetypeassert)
lint: adaptor.go#L180
identical: interface OneWireSystemDevicer contains identical methods or type constraints from another interface, causing redundancy (iface)
lint: adaptor.go#L233
identical: interface OneWireOperations contains identical methods or type constraints from another interface, causing redundancy (iface)
lint: platforms/firmata/firmata_i2c_test.go#L23
the methods of "i2cMockFirmataBoard" use pointer receiver and non-pointer receiver. (recvcheck)
lint: platforms/holystone/hs200/hs200_driver.go#L12
the methods of "Driver" use pointer receiver and non-pointer receiver. (recvcheck)
lint
issues found