Skip to content

Start refactoring for new linter rules #16

Start refactoring for new linter rules

Start refactoring for new linter rules #16

Triggered via pull request May 13, 2024 13:07
Status Failure
Total duration 7m 43s
Artifacts

go.yml

on: pull_request
Matrix: Test
Lint
37s
Lint
Coverage Report
0s
Coverage Report
Test (flaky)
47s
Test (flaky)
Trigger Beekeeper
0s
Trigger Beekeeper
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 3 warnings
Lint: pkg/kvs/kvs_test.go#L132
Error return value of `s.Put` is not checked (errcheck)
Lint: pkg/kvs/kvs_test.go#L35
test helper function should start from t.Helper() (thelper)
Lint: pkg/kvs/mock/kvs.go#L1
Missed header for check (goheader)
Lint: pkg/dynamicaccess/mock/controller.go#L129
Error return value of `h.Add` 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/dynamicaccess/accesslogic.go#L1
Missed header for check (goheader)
Test (ubuntu-latest)
Process completed with exit code 2.
Test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
Test (windows-latest)
The operation was canceled.
Test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
Test (macos-latest)
The operation was canceled.
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 (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/.
Test (ubuntu-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/.