Skip to content

update buildsystem #223

update buildsystem

update buildsystem #223

Triggered via pull request September 11, 2024 19:16
Status Success
Total duration 3m 9s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/chain/chain.go#L17
type `dispatcher` is unused (unused)
lint: internal/chain/chain.go#L21
func `(*dispatcher[T]).Next` is unused (unused)
lint: internal/chain/chain.go#L33
func `(*dispatcher[T]).SetNext` is unused (unused)
lint: cmd/portup/main.go#L61
block should not end with a whitespace (or comment) (wsl)
lint: cmd/portup/main.go#L100
only cuddled expressions if assigning variable or using from line above (wsl)
lint: internal/file/copy.go#L33
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd/pushbak/main.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint: cmd/refiles/main.go#L7
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/