Merge pull request #100 from openconfig/dependabot/go_modules/golang.… #170
go.yml
on: push
go
/
Static Analysis
48s
go
/
staticcheck
55s
Matrix: go / Build and Test
Annotations
10 errors and 4 warnings
go / Static Analysis:
yangutil/yangutil.go#L23
exported function GetAllYANGFiles should have comment or be unexported
|
go / Static Analysis:
webhook/main.go#L102
parameter 'w' seems to be unused, consider removing or renaming it as _
|
go / Static Analysis:
cmd/check.go#L36
parameter 'args' seems to be unused, consider removing or renaming it as _
|
go / Static Analysis:
util/parseutil.go#L32
don't use ALL_CAPS in Go names; use CamelCase
|
go / Static Analysis:
cmd_gen/main_test.go#L30
parameter 'labelColor' seems to be unused, consider removing or renaming it as _
|
go / Static Analysis:
cmd_gen/main_test.go#L30
parameter 'owner' seems to be unused, consider removing or renaming it as _
|
go / Static Analysis:
cmd_gen/main_test.go#L30
parameter 'repo' seems to be unused, consider removing or renaming it as _
|
go / Static Analysis:
cmd_gen/main_test.go#L30
parameter 'prNumber' seems to be unused, consider removing or renaming it as _
|
go / Static Analysis:
openconfig-ci/main.go#L15
should have a package comment
|
go / Static Analysis:
openconfig-ci/ocdiff/ocdiff.go#L164
if block ends with a return statement, so drop this else and outdent its block
|
go / Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go / staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go / Build and Test (stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go / Build and Test (oldstable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|