Skip to content

refactor: linter warnings in multiple files #2147

refactor: linter warnings in multiple files

refactor: linter warnings in multiple files #2147

Triggered via pull request October 16, 2024 11:28
@lklimeklklimek
synchronize #956
fix/lint
Status Failure
Total duration 5m 36s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci-lint: internal/libs/tempfile/tempfile.go#L46
G115: integer overflow conversion int64 -> uint64 (gosec)
golangci-lint: internal/libs/tempfile/tempfile.go#L65
G115: integer overflow conversion uint64 -> int (gosec)
golangci-lint: internal/libs/protoio/writer.go#L63
G115: integer overflow conversion int -> uint64 (gosec)
golangci-lint: internal/libs/protoio/writer.go#L97
G115: integer overflow conversion int -> uint64 (gosec)
golangci-lint: internal/libs/flowrate/util.go#L42
G115: integer overflow conversion int64 -> uint32 (gosec)
golangci-lint: crypto/secp256k1/secp256k1.go#L20
G507: Blocklisted import golang.org/x/crypto/ripemd160: deprecated and weak cryptographic primitive (gosec)
golangci-lint: libs/workerpool/worker_pool.go#L95
G115: integer overflow conversion int -> int32 (gosec)
golangci-lint: internal/p2p/conn/connection.go#L542
G115: integer overflow conversion int32 -> uint16 (gosec)
golangci-lint: internal/p2p/conn/secret_connection.go#L220
G115: integer overflow conversion int -> uint32 (gosec)
golangci-lint: types/netaddress.go#L49
G115: integer overflow conversion int -> uint16 (gosec)
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6, actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/