refactor: linter warnings in multiple files #2154
Annotations
10 errors and 5 warnings
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:
internal/statesync/dispatcher.go#L109
G115: integer overflow conversion int64 -> uint64 (gosec)
|
golangci-lint:
internal/statesync/reactor.go#L851
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
internal/statesync/reactor.go#L1080
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
internal/statesync/repo.go#L25
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
internal/statesync/stateprovider.go#L97
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
internal/statesync/stateprovider.go#L238
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
internal/statesync/stateprovider.go#L371
G115: integer overflow conversion int64 -> uint64 (gosec)
|
golangci-lint:
internal/statesync/syncer.go#L218
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
internal/statesync/syncer.go#L598
G115: integer overflow conversion int64 -> uint64 (gosec)
|
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
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
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/
|