Skip to content

Inject logger using context #2168

Inject logger using context

Inject logger using context #2168

Triggered via pull request November 6, 2024 16:58
Status Failure
Total duration 2m 29s
Artifacts

on_push.yml

on: pull_request
Unit Tests
1m 24s
Unit Tests
Integration Tests
46s
Integration Tests
Unit Tests Windows
2m 6s
Unit Tests Windows
Integration Tests Windows
1m 0s
Integration Tests Windows
Unit Tests macOS
1m 45s
Unit Tests macOS
Integration Tests macOS
59s
Integration Tests macOS
Unit Tests Shell Script
18s
Unit Tests Shell Script
IP Check
32s
IP Check
Version
0s
Version
Build Darwin
0s
Build Darwin
Build Android
0s
Build Android
Build Linux
0s
Build Linux
Build FreeBSD
0s
Build FreeBSD
Build NetBSD
0s
Build NetBSD
Build OpenBSD
0s
Build OpenBSD
Build Windows
0s
Build Windows
Sign Apple binaries
0s
Sign Apple binaries
Release
0s
Release
Fit to window
Zoom out
Zoom in

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)