Skip to content

fix: linter warnings in multiple files #2138

fix: linter warnings in multiple files

fix: linter warnings in multiple files #2138

Triggered via pull request October 11, 2024 23:47
@lklimeklklimek
synchronize #956
fix/lint
Status Failure
Total duration 1m 48s
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/eventlog/cursor/cursor.go#L39
G115: integer overflow conversion int64 -> uint64 (gosec)
golangci-lint: internal/eventlog/cursor/cursor.go#L40
G115: integer overflow conversion int64 -> uint16 (gosec)
golangci-lint: internal/eventlog/cursor/cursor.go#L58
G115: integer overflow conversion uint64 -> int64 (gosec)
golangci-lint: internal/libs/flowrate/util.go#L42
G115: integer overflow conversion int64 -> uint32 (gosec)
golangci-lint: internal/libs/clist/clist_test.go#L86
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it to match ^_ (revive)
golangci-lint: internal/libs/clist/clist_test.go#L147
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it to match ^_ (revive)
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/