Skip to content

Start refactoring for new linter rules #13

Start refactoring for new linter rules

Start refactoring for new linter rules #13

Triggered via pull request May 13, 2024 10:58
Status Failure
Total duration 7m 17s
Artifacts

go.yml

on: pull_request
Matrix: Test
Test (flaky)
21s
Test (flaky)
Trigger Beekeeper
0s
Trigger Beekeeper
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 warnings
Lint: pkg/dynamicaccess/mock/controller.go#L129
Error return value of `h.Add` is not checked (errcheck)
Lint: pkg/kvs/kvs_test.go#L132
Error return value of `s.Put` is not checked (errcheck)
Lint: pkg/dynamicaccess/controller_test.go#L192
Error return value of `gl.Add` is not checked (errcheck)
Lint: pkg/dynamicaccess/history_test.go#L64
Error return value of `h.Add` is not checked (errcheck)
Lint: pkg/dynamicaccess/history_test.go#L69
Error return value of `h.Add` is not checked (errcheck)
Lint: pkg/dynamicaccess/history_test.go#L129
Error return value of `h1.Add` is not checked (errcheck)
Lint: pkg/api/dynamicaccess_test.go#L392
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
Lint: pkg/kvs/mock/kvs.go#L1
Missed header for check (goheader)
Lint: pkg/dynamicaccess/accesslogic.go#L1
Missed header for check (goheader)
Lint: pkg/dynamicaccess/controller.go#L1
Missed header for check (goheader)
Test (windows-latest)
Process completed with exit code 1.
Test (ubuntu-latest)
The job was canceled because "windows-latest" failed.
Test (ubuntu-latest)
Process completed with exit code 2.
Test (macos-latest)
The job was canceled because "windows-latest" failed.
Test (macos-latest)
The operation was canceled.
Test (flaky)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, 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/.
Test (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.