Skip to content

Update golangci/golangci-lint Docker tag to v1.62.0 - autoclosed #1491

Update golangci/golangci-lint Docker tag to v1.62.0 - autoclosed

Update golangci/golangci-lint Docker tag to v1.62.0 - autoclosed #1491

Triggered via pull request November 10, 2024 22:52
Status Failure
Total duration 2m 3s
Artifacts

ci.yml

on: pull_request
Matrix: build-with-xk6
Matrix: run-unit-tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
run-linter: pkg/runtime/profiler/metrics.go#L170
Error return value of `fmt.Fprintln` is not checked (errcheck)
run-linter: pkg/runtime/profiler/metrics.go#L172
Error return value of `fmt.Fprintf` is not checked (errcheck)
run-linter: pkg/agent/tcpconn/disruptor.go#L140
G115: integer overflow conversion int32 -> uint16 (gosec)
run-linter: pkg/agent/tcpconn/disruptor.go#L141
G115: integer overflow conversion int32 -> uint32 (gosec)
run-linter: pkg/agent/protocol/http/proxy.go#L145
G115: integer overflow conversion uint -> int (gosec)
run-linter: pkg/testutils/grpc/ping/ping_server.go#L33
G115: integer overflow conversion int32 -> uint32 (gosec)
run-linter: pkg/agent/protocol/grpc/handler.go#L205
G115: integer overflow conversion int32 -> uint32 (gosec)
run-linter: pkg/testutils/e2e/checks/checks.go#L116
G115: integer overflow conversion uint32 -> int32 (gosec)
run-linter: pkg/testutils/e2e/checks/checks.go#L117
G115: integer overflow conversion uint32 -> int32 (gosec)
run-linter: pkg/testutils/grpc/bufconn.go#L13
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
run-unit-tests (macos-latest)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
build-with-xk6 (ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
run-linter
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
build-with-xk6 (macos-latest)
Failed to restore: "/opt/homebrew/bin/gtar" failed with error: The process '/opt/homebrew/bin/gtar' failed with exit code 2
run-unit-tests (ubuntu-latest)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2