Go #684
go.yml
on: schedule
go
/
Static Analysis
55s
go
/
staticcheck
1m 35s
Matrix: go / Build and Test
Annotations
10 errors and 4 warnings
|
go / Static Analysis:
gnmi/gnmi.go#L166
redefinition of the built-in type any
|
|
go / Static Analysis:
gnmi/gnmi.go#L129
redefinition of the built-in type any
|
|
go / Static Analysis:
gnmi/gnmi_test.go#L384
redefinition of the built-in type any
|
|
go / Static Analysis:
integration/oltp_e2e/e2e_test.go#L66
context.Context should be the first parameter of a function
|
|
go / Static Analysis:
integration/oltp_e2e/e2e_test.go#L35
parameter 't' seems to be unused, consider removing or renaming it as _
|
|
go / Static Analysis:
integration/docker_stats_e2e/docker_stats_e2e_test.go#L67
parameter 't' seems to be unused, consider removing or renaming it as _
|
|
go / Static Analysis:
gnmipath/pather.go#L28
exported function NewPather should have comment or be unexported
|
|
go / Static Analysis:
gnmipath/pather.go#L24
exported type Pather should have comment or be unexported
|
|
go / Static Analysis:
gnmipath/config.go#L21
exported type Config should have comment or be unexported
|
|
go / Static Analysis:
collector/components.go#L15
should have a package comment
|
|
go / Static Analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-go@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
go / staticcheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3, actions/checkout@v3, actions/setup-go@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
go / Build and Test (oldstable)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-go@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
go / Build and Test (stable)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-go@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|