Inject logger using context #2168
on_push.yml
on: pull_request
Unit Tests
1m 24s
Integration Tests
46s
Unit Tests Windows
2m 6s
Integration Tests Windows
1m 0s
Unit Tests macOS
1m 45s
Integration Tests macOS
59s
Unit Tests Shell Script
18s
IP Check
32s
Build Android
0s
Build Linux
0s
Build FreeBSD
0s
Build NetBSD
0s
Build OpenBSD
0s
Build Windows
0s
Release
0s
Annotations
10 errors and 20 warnings
Integration Tests Windows:
pkg/api/transport_windows.go#L17
undefined: log.Errorf
|
Integration Tests Windows
Process completed with exit code 1.
|
Unit Tests:
cmd/run_test.go#L291
only cuddled expressions if assigning variable or using from line above (wsl)
|
Unit Tests:
cmd/run_test.go#L379
only cuddled expressions if assigning variable or using from line above (wsl)
|
Unit Tests
issues found
|
Unit Tests macOS:
cmd/run_test.go#L379
only cuddled expressions if assigning variable or using from line above (wsl)
|
Unit Tests macOS:
cmd/run_test.go#L291
only cuddled expressions if assigning variable or using from line above (wsl)
|
Unit Tests macOS
issues found
|
Unit Tests Windows:
pkg/api/transport_windows.go#L17
undefined: log.Errorf
|
Unit Tests Windows
Process completed with exit code 1.
|
Unit Tests Shell Script
The following actions uses node12 which is deprecated and will be forced to run on node16: mig4/setup-bats@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Unit Tests Shell Script
The following actions use a deprecated Node.js version and will be forced to run on node20: mig4/setup-bats@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit Tests:
pkg/language/chroma.go#L114
line-length-limit: line is 128 characters, out of limit 125 (revive)
|
Unit Tests:
cmd/configwrite/configwrite_test.go#L79
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Unit Tests:
cmd/configwrite/configwrite_test.go#L139
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Unit Tests:
pkg/remote/remote_test.go#L33
line-length-limit: line is 138 characters, out of limit 125 (revive)
|
Unit Tests:
cmd/params/params_test.go#L2640
line-length-limit: line is 131 characters, out of limit 125 (revive)
|
Unit Tests:
cmd/params/params_test.go#L2643
line-length-limit: line is 137 characters, out of limit 125 (revive)
|
Unit Tests:
cmd/heartbeat/heartbeat_test.go#L1209
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Unit Tests:
cmd/heartbeat/heartbeat_test.go#L84
line-length-limit: line is 138 characters, out of limit 125 (revive)
|
Unit Tests macOS
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit Tests macOS:
pkg/language/chroma.go#L114
line-length-limit: line is 128 characters, out of limit 125 (revive)
|
Unit Tests macOS:
cmd/configwrite/configwrite_test.go#L79
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Unit Tests macOS:
cmd/configwrite/configwrite_test.go#L139
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Unit Tests macOS:
pkg/remote/remote_test.go#L33
line-length-limit: line is 138 characters, out of limit 125 (revive)
|
Unit Tests macOS:
cmd/heartbeat/heartbeat_test.go#L1209
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Unit Tests macOS:
cmd/heartbeat/heartbeat_test.go#L84
line-length-limit: line is 138 characters, out of limit 125 (revive)
|
Unit Tests macOS:
cmd/params/params_test.go#L2640
line-length-limit: line is 131 characters, out of limit 125 (revive)
|
Unit Tests macOS:
cmd/params/params_test.go#L2643
line-length-limit: line is 137 characters, out of limit 125 (revive)
|