Skip to content

Add guidance on how to address a CI failure. #172

Add guidance on how to address a CI failure.

Add guidance on how to address a CI failure. #172

Triggered via pull request June 28, 2024 21:26
Status Success
Total duration 1m 18s
Artifacts

go.yml

on: pull_request
Matrix: go / Build and Test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
go / Static Analysis: openconfig-ci/main.go#L15
should have a package comment
go / Static Analysis: post_results/misc-checks.go#L113
should replace filesReachedCount += 1 with filesReachedCount++
go / Static Analysis: post_results/misc-checks.go#L127
should replace ocVersionChangedCount += 1 with ocVersionChangedCount++
go / Static Analysis: post_results/misc-checks.go#L138
should replace ocVersionChangedCount += 1 with ocVersionChangedCount++
go / Static Analysis: cmd/check.go#L15
should have a package comment
go / Static Analysis: cmd/check.go#L36
parameter 'args' seems to be unused, consider removing or renaming it as _
go / Static Analysis: yangutil/yangutil.go#L23
exported function GetAllYANGFiles should have comment or be unexported
go / Static Analysis: yangutil/yangutil.go#L15
package comment should be of the form "Package yangutil ..."
go / Static Analysis: openconfig-ci/ocdiff/ocdiff.go#L155
exported method DiffReport.Sort should have comment or be unexported
go / Static Analysis: openconfig-ci/ocdiff/ocdiff.go#L15
package comment should be of the form "Package ocdiff ..."
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/.