Skip to content

megapi: use serialport adaptor and move driver to drivers/serial #457

megapi: use serialport adaptor and move driver to drivers/serial

megapi: use serialport adaptor and move driver to drivers/serial #457

Triggered via pull request February 12, 2024 16:57
Status Failure
Total duration 30s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
lint: platforms/serialport/adaptor.go#L1
: # gobot.io/x/gobot/v2/platforms/serialport [gobot.io/x/gobot/v2/platforms/serialport.test]
lint: platforms/serialport/adaptor_test.go#L120
a.connected undefined (type *Adaptor has no field or method connected)
lint: platforms/serialport/adaptor_test.go#L132
a.connected undefined (type *Adaptor has no field or method connected)
lint: platforms/serialport/adaptor_test.go#L135
a.connected undefined (type *Adaptor has no field or method connected)
lint: platforms/serialport/adaptor_test.go#L138
a.connected undefined (type *Adaptor has no field or method connected)
lint: platforms/serialport/adaptor_test.go#L141
a.connected undefined (type *Adaptor has no field or method connected)
lint: platforms/serialport/adaptor_test.go#L152
a.connected undefined (type *Adaptor has no field or method connected) (typecheck)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.