update go and sdk-go #117
main.yaml
on: pull_request
Linting
2m 40s
Unit Tests
41s
Annotations
2 errors and 14 warnings
Linting:
pkg/protocol/amqp/amqp.go#L88
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
|
Linting
issues found
|
Unit Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Linting:
pkg/util/clock/clock.go#L290
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
pkg/util/clock/clock.go#L296
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
pkg/util/clock/clock.go#L302
unused-parameter: parameter 'd' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
pkg/event/redfish/event_marshal.go#L26
unused-parameter: parameter 'writer' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
v1/pubsub/pubsub.go#L299
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Linting:
v1/pubsub/pubsub.go#L339
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Linting:
v1/pubsub/pubsub.go#L389
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Linting:
v1/pubsub/pubsub_test.go#L198
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
v1/subscriber/subscriber_test.go#L221
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
Linting:
v1/amqp/amqp_test.go#L26
redefines-builtin-id: redefinition of the built-in function close (revive)
|