Skip to content

Update go.yml

Update go.yml #2

Triggered via push February 20, 2024 15:52
Status Failure
Total duration 1m 37s
Artifacts

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: balancer/state.go#L5
"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. (SA1019)
build: balancer/state_test.go#L69
redundant return statement (S1023)
build: config/config.go#L296
toml.DecodeReader is deprecated: use NewDecoder(reader).Decode(&value). (SA1019)
build: proxy/mount.go#L148
func (*Mount).runSourceClient is unused (U1000)
build: storage/mariadb/news.go#L255
const op is unused (U1000)
build: storage/mariadb/news_test.go#L33
should use !bytes.Equal(aj, bj) instead (S1004)
build: streamer/streamer.go#L8
"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. (SA1019)
build: templates/loader.go#L102
func (*Site).prodTemplate is unused (U1000)
build: templates/loader.go#L148
func (*Site).makeCache is unused (U1000)
build: website/admin/pending.go#L103
redundant return statement (S1023)
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.