Skip to content

chore: add staticcheck configuration file #12

chore: add staticcheck configuration file

chore: add staticcheck configuration file #12

Triggered via push September 5, 2024 11:08
Status Failure
Total duration 39s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
test
stdout:
test
test] Error 1
test
Process completed with exit code 2.
lint: internal/kafka_executable/kafka_executable.go#L32
should omit nil check; len() for []string is defined as zero (S1009)
lint: protocol/broker.go#L67
error strings should not be capitalized (ST1005)
lint: protocol/broker.go#L67
error strings should not end with punctuation or newlines (ST1005)
lint: protocol/broker.go#L91
error strings should not be capitalized (ST1005)
lint: protocol/decoder/real_decoder.go#L476
printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
lint: protocol/encoder/real_encoder.go#L112
possible nil pointer dereference (SA5011)
lint: protocol/encoder/real_encoder.go#L109
this check suggests that the pointer can be nil
lint
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1, actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v1, actions/setup-python@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/