Skip to content

refactor: linter warnings in multiple files #2164

refactor: linter warnings in multiple files

refactor: linter warnings in multiple files #2164

Triggered via pull request November 2, 2024 22:03
@lklimeklklimek
synchronize #956
fix/lint
Status Failure
Total duration 35m 23s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
golangci-lint: libs/workerpool/worker_pool.go#L95
G115: integer overflow conversion int -> int32 (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/promise/promise_test.go#L52
unused-parameter: parameter 'reject' seems to be unused, consider removing or renaming it to match ^_ (revive)
golangci-lint: types/netaddress.go#L49
G115: integer overflow conversion int -> uint16 (gosec)
golangci-lint: types/node_info.go#L214
G115: integer overflow conversion int32 -> uint32 (gosec)
golangci-lint: types/part_set.go#L176
G115: integer overflow conversion int -> uint32 (gosec)
golangci-lint: types/proposal.go#L199
G115: integer overflow conversion int64 -> uint64 (gosec)
golangci-lint: types/proposal.go#L201
G115: integer overflow conversion int32 -> uint32 (gosec)
golangci-lint: types/proposal.go#L213
G115: integer overflow conversion int64 -> uint64 (gosec)
golangci-lint: types/proposal.go#L215
G115: integer overflow conversion int32 -> uint32 (gosec)
golangci-lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
golangci-lint
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
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/