Skip to content

chore(deps): pin dependencies #365

chore(deps): pin dependencies

chore(deps): pin dependencies #365

GitHub Actions / golangci failed Oct 12, 2023 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (3)

cmd/vela-slack/main.go|8 col 2| 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)
cmd/vela-slack/plugin.go|9 col 2| 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)
cmd/vela-slack/main.go|27 col 1| directive // nolint: funlen // ignore length for main should be written without leading space as //nolint: funlen // ignore length for main (nolintlint)

Filtered Findings (0)

Annotations

Check failure on line 8 in cmd/vela-slack/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-slack/main.go#L8

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)
Raw output
cmd/vela-slack/main.go:8:2: 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)
	"io/ioutil"
	^

Check failure on line 9 in cmd/vela-slack/plugin.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-slack/plugin.go#L9

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)
Raw output
cmd/vela-slack/plugin.go:9:2: 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)
	"io/ioutil"
	^

Check failure on line 27 in cmd/vela-slack/main.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] cmd/vela-slack/main.go#L27

directive `// nolint: funlen // ignore length for main` should be written without leading space as `//nolint: funlen // ignore length for main` (nolintlint)
Raw output
cmd/vela-slack/main.go:27:1: directive `// nolint: funlen // ignore length for main` should be written without leading space as `//nolint: funlen // ignore length for main` (nolintlint)
// nolint: funlen // ignore length for main
^