Skip to content

chore: golangci-lint CI workflow #1

chore: golangci-lint CI workflow

chore: golangci-lint CI workflow #1

Triggered via pull request September 12, 2024 11:05
Status Failure
Total duration 2m 34s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: eth/tracers/logger/logger.go#L448
S1009: should omit nil check; len() for []byte is defined as zero (gosimple)
lint: accounts/abi/unpack_test.go#L950
printf: non-constant format string in call to (*testing.common).Fatalf (govet)
lint: cmd/evm/t8n_test.go#L415
printf: non-constant format string in call to (*testing.common).Logf (govet)
lint: cmd/evm/t8n_test.go#L550
printf: non-constant format string in call to (*testing.common).Logf (govet)
lint: cmd/rlpdump/main.go#L145
printf: non-constant format string in call to fmt.Fprintf (govet)
lint: core/rawdb/accessors_chain_test.go#L394
printf: non-constant format string in call to (*testing.common).Fatalf (govet)
lint: core/rawdb/accessors_chain_test.go#L404
printf: non-constant format string in call to (*testing.common).Fatalf (govet)
lint: accounts/scwallet/securechannel.go#L79
SA1019: elliptic.Marshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function returns an encoding equivalent to that of PublicKey.Bytes in crypto/ecdh. (staticcheck)
lint: crypto/crypto.go#L168
SA1019: elliptic.Unmarshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function accepts an encoding equivalent to that of the NewPublicKey methods in crypto/ecdh. (staticcheck)
lint: crypto/crypto.go#L179
SA1019: elliptic.Marshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function returns an encoding equivalent to that of PublicKey.Bytes in crypto/ecdh. (staticcheck)